ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Re: Triggering Animation with Comments.

COW Forums : Adobe After Effects Expressions

FAQ   •   VIEW ALL   •   ADD A NEW POST   •   PRINT
Respond to this post   •   Return to posts index   •   Read entire thread


Dan Fredley
Re: Triggering Animation with Comments.
on Aug 28, 2012 at 7:01:40 pm

Try this:
//user-defined values
durInFrames = 20;
txt = 'Move45';
addValue = 45;

//AE-calculated values
m = marker.nearestKey(time);
str = m.comment;

if(str === txt && m.time <= time) {
start = m.time;
end = m.time + durInFrames*thisComp.frameDuration;
startValue = value;
endValue = value + addValue;
ease(time, start, end, startValue, endValue);
} else {
value;
}


Posts IndexRead Thread 


Current Message Thread:





© 2019 CreativeCOW.net All Rights Reserved
[TOP]