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

Adobe Refresh Managerについて

Error during signature verification. Signature contains incorrect, unrecognized, corrupted or suspicious data. Support Information: SigDict /Contents illegal data