# AE ENHANCERS

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

 All times are UTC - 8 hours [ DST ]

 Page 1 of 1 [ 3 posts ]
 Print view Previous topic | Next topic
Author Message
 Post subject: Triggering expression on markerPosted: Wed Mar 25, 2009 9:10 am

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

 Post subject: Re: Triggering expression on markerPosted: Wed Mar 25, 2009 10:37 am

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

 Post subject: Re: Triggering expression on markerPosted: Sun May 06, 2012 8:23 pm

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

 Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending
 Page 1 of 1 [ 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 forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum

Search for:
 Jump to:  Select a forum ------------------ Announcements    Announcements Expressions    Expressions Library    Expressions Tutorials    Expression Discussion Scripts    General Scripts Library    Script Tutorials    Scripts Discussion    Script requests User Scripts    Paul Tuersley's Scripts    Impudent 1's Scripts Animation Presets    Animation presets Library