AE ENHANCERS

Expressions/Scripts/Presets
It is currently Thu May 23, 2013 5:36 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Move layer based on final position
PostPosted: Fri May 11, 2012 3:15 pm 
Offline

Joined: Tue Feb 27, 2007 8:45 am
Posts: 14
Is there an expression that could be applied to any layer, at any position, that would then take that layer's current position, have it start at a lower vertical position (say 30 pixels lower) and have it move up to the current position in a set amount of time? I have dozens of text layers that I need to do this to. It would be great if there was a simple expression I could just apply to each layer rather than manually setting each layers keyframes. Not to be greedy, but an easing function would be great as a part of it, too.

Thanks.


Top
 Profile  
 
 Post subject: Re: Move layer based on final position
PostPosted: Sun May 13, 2012 12:53 pm 
Offline

Joined: Sat Jun 26, 2004 10:01 am
Posts: 298
Location: Folsom, CA
This should work:

tStart = inPoint; // time to start (seconds)
tDur = .5; // time to move
yOffset = 30; // amount to move
ease(time,tStart,tStart+tDur,value+[0,yOffset],value)


Dan

_________________
http://www.motionscript.com


Top
 Profile  
 
 Post subject: Re: Move layer based on final position
PostPosted: Mon May 14, 2012 6:51 am 
Offline

Joined: Tue Feb 27, 2007 8:45 am
Posts: 14
Dan,
That's perfect! Thank you so much.

SteveB


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group