ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Reference time through expression

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
alex harding
Reference time through expression
on Jan 29, 2009 at 10:58:19 pm

Thanks Dan Ebberts for responding to my last post, and sorry for posting again so soon, but...

is there a way to refference a particular frame from a nested comp according to an expression?

i.e. in my master comp my playhead is on frame 10, and my epxression slider has a value of 20, causing nested comp is displaying its frame 20?

Thanks in advance for help,

Alex



Return to posts index

Dan Ebberts
Re: Reference time through expression
on Jan 29, 2009 at 11:28:19 pm

Yes. You would turn on time remapping for the nested comp layer in your main comp, then apply a time remapping expession that calculates the time based on the slider value like this:

s = (pick whip to your slider here);
framesToTime(s)


Dan



Return to posts index

alex harding
Re: Reference time through expression
on Jan 31, 2009 at 3:57:54 pm

perfect. much obliged!



Return to posts index

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