ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Control when a comp starts to play in a timeline with a slider.

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Merlin Nation
Control when a comp starts to play in a timeline with a slider.
on Sep 4, 2018 at 3:12:08 pm

Hello there,

I would like to be able to control when a pre-comp starts playing in a timeline with a slider. So I can set a delay amount in frames for when an animation starts. This will be to use it in a motion graphics template for Premiere. I imagine it's an expression to add to time-remapping on the comp layer?

Any help will be very gratefully received so thanks in advance!


Return to posts index

Dan Ebberts
Re: Control when a comp starts to play in a timeline with a slider.
on Sep 4, 2018 at 5:10:40 pm

Something like this probably (Time Remapping):

f = effect("Slider Control")("Slider"); // frames offset
t = framesToTime(f);
Math.max(time-t,0)



Dan



Return to posts index

Merlin Nation
Re: Control when a comp starts to play in a timeline with a slider.
on Sep 6, 2018 at 10:09:59 am

That works perfectly Dan!
Thanks very much.

All the best.
Merlin


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 CreativeCOW.net All Rights Reserved
[TOP]