ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Re: Fade In/Out & Opacity Expression

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 Ebberts
Re: Fade In/Out & Opacity Expression
on Aug 26, 2014 at 11:19:43 pm

Something like this maybe:


fadeInTime = .5;
fadeOutTime = .5;
minVal = 0;
maxVal = 75;
if (thisComp.layer(1).text.sourceText.length>0){
t = (time-inPoint)%(fadeInTime+fadeOutTime);
if (t < fadeInTime)
ease(t,0,fadeInTime,minVal,maxVal)
else
ease(t,fadeInTime,fadeInTime+fadeOutTime,maxVal,minVal);
}else
0



Dan



Posts IndexRead Thread 


Current Message Thread:





© 2020 CreativeCOW.net All Rights Reserved
[TOP]