FORUMS: list search recent posts

reference specific frame

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Alex Harding
reference specific frame
on Jan 12, 2011 at 10:58:31 am

Hi,

How can I reference a variable at a specific frame, rather than the current frame?

In Nuke it would be:

result=variable(frameNumber)

which would look at the variable at the frame number in parentheses.

ie you could do

result=variable(time-10)

to make the animation delay by 10 frames


Thanks!

Alex


Return to posts index

Michael Szalapski
Re: reference specific frame
on Jan 12, 2011 at 2:25:57 pm

I think the AE equivalent would be valueAtTime.
This page covers it and this example uses it.

- The Great Szalam
(The 'Great' stands for 'Not So Great, in fact, Extremely Humble')

No trees were harmed in the creation of this message, but several thousand electrons were mildly inconvenienced.


Return to posts index

Alex Harding
Re: reference specific frame
on Jan 12, 2011 at 2:58:29 pm

that is a very useful page

thanks very much


Return to posts index


Dan Ebberts
Re: reference specific frame
on Jan 12, 2011 at 5:24:37 pm

valueAtTime() won't help you with variables, just properties. Variables don't persist from frame to frame.

Dan



Return to posts index

Alex Harding
Re: reference specific frame
on Jan 12, 2011 at 6:13:43 pm

my bad, i actually meant properties

thanks


Return to posts index

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