FORUMS: list search recent posts

Combinig expressions with keyframes

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
yair neumann
Combinig expressions with keyframes
on Jan 23, 2009 at 1:48:52 pm

I have a question that's been puzzling me, how can I combine keyframes with expressions?
Basically what I need is to make a photo's opacity wiggle, but I only want this to begin at at a certain frame in the composition.
Any help would be much obliged


Return to posts index

Paul Hennell
Re: Combinig expressions with keyframes
on Jan 23, 2009 at 3:26:12 pm

Might be other better ways to do this but I've used this in the past -

[Add Checkbox expression control]

if (effect("Checkbox Control")("Checkbox") == 1){
wiggle(10,100);
}else{
100
}



---

Only in after effects do children get to pick and whip their parents.

http://hennell-online.co.uk


Return to posts index

Chris Arnold
Re: Combinig expressions with keyframes
on Jan 23, 2009 at 3:41:32 pm

timeToStart = 2; 
timeToStop = 4;

if ((time > timeToStart) && (time < timeToStop)){
wiggle(3,25);
}else{
value;
}


Also, you can tell expressions when to start or stop via time or frame numbers.

Here's a link to adobe docs where they have info on how to stop and start a wiggle by just typing in the time you want it to stop and start. Same as code I placed in here.

http://livedocs.adobe.com/en_US/AfterEffects/8.0/help.html?content=WS22BD9B...



Return to posts index


Filip Vandueren
Re: Combinig expressions with keyframes
on Jan 24, 2009 at 12:51:04 am

In the case of Wiggle, you could also add a Slider Expression Control, and use that value as the wiggle amount.

So you can keyframe from 0 (= no wiggle) to 100, instead of suddenly switching off the wiggle which will most likely cause the layer to jump from one position to another in 1 frame.



Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 CreativeCOW.net All Rights Reserved
[TOP]