Search found 2 matches

by ghaffar3
February 10th, 2019, 11:24 am
Forum: Expression Discussion
Topic: Trigger a composition closure using TimeRemapping
Replies: 2
Views: 2063

Trigger a composition closure using TimeRemapping

I'm trying to trigger a composition closure using a TimeRemap on the composition with 4 key frames, with the script as follows: clockStart = parseInt(comp("main").layer(5).text.sourceText.value); clockTime = clockStart-1*(time); sIn = key(2).time - key(1).time; sOut = key(4).time - key(3).time; if (...
by ghaffar3
February 10th, 2019, 10:18 am
Forum: Scripts Discussion
Topic: Trigger Composition Closure using a Counter
Replies: 0
Views: 2059

Trigger Composition Closure using a Counter

I'm trying to trigger a composition closure using a TimeRemap on the composition with 4 key frames, with the script as follows: clockStart = parseInt(comp("main").layer(5).text.sourceText.value); clockTime = clockStart-1*(time); sIn = key(2).time - key(1).time; sOut = key(4).time - key(3).time; if (...