Creative COW SIGN IN :: SPONSORS :: ADVERTISING :: ABOUT US :: CONTACT US
Creative COW's LinkedIn GroupCreative COW's Facebook PageCreative COW on TwitterCreative COW's Google+ PageCreative COW on YouTube
ADOBE AFTER EFFECTS:HomeForumBasicsExpressionsTutorialsPodcastsAE TechniquesTrainingCreative Cloud DebateFAQ

In an expression, is it possible to have the "time" command start at the beginning of a layer?

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Share on Facebook
Jonathan SteeleIn an expression, is it possible to have the "time" command start at the beginning of a layer?
by on May 23, 2012 at 4:17:06 pm

I am trying to create an expression that allows the "time" command start at the beginning of the layer it is in opposed to the beginning of the comp. Is that even possible?

It is going to be used with several other expressions to bring text onto the screen like an old computer. There are about 200 lines of text so I would like to avoid pre-composing all of them to get it to work.

Math.round(time*thisComp.layer("Controller").effect("Typing Speed")("Slider"))


Return to posts index
Reply   Like  

Dan FredleyRe: In an expression, is it possible to have the "time" command start at the beginning of a layer?
by on May 23, 2012 at 4:50:38 pm

I think you want:


var layerTime = 0;
if (time > thisLayer.inPoint) layerTime = time-thisLayer.inPoint;
layerTime;


Dan Fredley


Return to posts index
Reply   Like  

Jonathan SteeleRe: In an expression, is it possible to have the "time" command start at the beginning of a layer?
by on May 23, 2012 at 4:53:36 pm

Thank you!

Works perfectly!


Return to posts index
Reply   Like  

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
Share on Facebook


FORUMSTUTORIALSMAGAZINESTOCKYARDVIDEOSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

Creative COW LinkedIn Group Creative COW Facebook Page Creative COW on Twitter
© 2013 CreativeCOW.net All rights are reserved. - Privacy Policy

[Top]