After Effects Expression


hi,

 

i new forum please excuse me if not posting correctly.

 

i new expression in ae , wondering if might able me.

 

i using following expression change scale of object on time.

 

t=time*20;

x=value[0]+t;

y=100;

[x,y]

 

i looking add expression opacity change it's value '0' @ fade time of 2 seconds when scale value equals 70%.

 

any appreciated.

 

thanks,

joe

you have in time find time @ scale[0] reaches 70%, start fading:

 

s = scale; threshhold = 70; fadedur = 2; if (s[0]<=threshhold){100}else{     t=time;     while(threshhold<s.valueattime(t)[0]) t-=thiscomp.frameduration;     linear(time, t, t+fadedur, 100, 0);     }; 

 

xavier



More discussions in After Effects Expressions


adobe

Comments

Popular posts from this blog

Soustraire une selection

After Effects: could not find dvaeve_dialogs.txt

Illustrator cs6 "Invalid Serial Number"