AE ENHANCERS

Expressions/Scripts/Presets
It is currently Sat May 25, 2013 8:43 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Triggering expression on marker
PostPosted: Wed Mar 25, 2009 9:10 am 
Offline

Joined: Fri Nov 09, 2007 1:01 am
Posts: 10
Hi! I've been looking for an expression like this for some time, but havn't had any success yet.
I've found some, but never got them to work.

Found this from AE CS4 help. It is supposed to execute a wobble expression on scale on every marker.
But when i paste it to scale property, nothing happens. What's wrong? I'm using CS4.

n = 0;
t = 0;
if (marker.numKeys > 0){
n = marker.nearestKey(time).index;
if (marker.key(n).time > time) n--;
}
if (n > 0) t = time - marker.key(n).time;

amp = 15;
freq = 5;
decay = 3.0;

angle = freq * 2 * Math.PI * t;
scaleFact = (100 + amp * Math.sin(angle) / Math.exp(decay * t)) / 100;
[value[0] * scaleFact, value[1] / scaleFact];



Thanks!


Top
 Profile  
 
 Post subject: Re: Triggering expression on marker
PostPosted: Wed Mar 25, 2009 10:37 am 
Offline

Joined: Sat Jun 26, 2004 10:01 am
Posts: 298
Location: Folsom, CA
It works for me. You did apply some layer markers to test it, right?

Dan

_________________
http://www.motionscript.com


Top
 Profile  
 
 Post subject: Re: Triggering expression on marker
PostPosted: Sun May 06, 2012 8:23 pm 
Offline

Joined: Thu Mar 25, 2010 10:30 am
Posts: 8
I have a combined transition effect on an adjustment layer with two control (amount and duration sliders) and I want to triggering this with layer markers. How can i solve it to start before the marker, at the marker reaches the maximum amount, and return to normal value?


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 2 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