FORUMS: list search recent posts

Fade out at the end of comp

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Honza Ondračka
Fade out at the end of comp
on Dec 8, 2016 at 11:34:30 am

Hi,

I'm trying to add fade out to one of my effects to the end of the composition. I will use it multiple times so it would be impractical to do it manually. Times will vary.

How to do it using expressions?

Thanks!


Return to posts index

Dan Ebberts
Re: Fade out at the end of comp
on Dec 8, 2016 at 11:49:47 pm

What type of effect?

Dan



Return to posts index

Honza Ondračka
Re: Fade out at the end of comp
on Dec 9, 2016 at 12:20:01 am

Well, it's actually precomposition. It includes many effects. It's basically logo with audio spectrum.

Honza


Return to posts index


Dan Ebberts
Re: Fade out at the end of comp
on Dec 9, 2016 at 12:22:13 am

So you want to fade the precomp layer's opacity at the end of the precomp, or at the end of the master comp?

Dan



Return to posts index

Honza Ondračka
Re: Fade out at the end of comp
on Dec 9, 2016 at 12:23:40 am

At the end of master comp. I will be changing times of comp for different songs so it's impractical to do it manually using key frames.


Return to posts index

Dan Ebberts
Re: Fade out at the end of comp
on Dec 9, 2016 at 12:25:58 am

Like this then, I think:

fadeTime = 1; // fade out time (seconds)
ease(time,thisComp.duration-fadeTime,thisComp.duration,value,0)


Dan



Return to posts index


Honza Ondračka
Re: Fade out at the end of comp
on Dec 9, 2016 at 12:46:15 am

Thank you.

May I ask you where tu put that code? I only know how to put it to effects not compositions.

Thanks!


Return to posts index

Dan Ebberts
Re: Fade out at the end of comp
on Dec 9, 2016 at 12:52:07 am

You would apply it to the opacity property of the precomp layer in the main comp.

Dan



Return to posts index

Honza Ondračka
Re: Fade out at the end of comp
on Dec 9, 2016 at 1:06:43 am

Thanks! :)


Return to posts index


Bryan Woods
Re: Fade out at the end of comp
on Jan 14, 2017 at 12:12:55 am

I came across this and I wanted to use it for a shape layer, but apparently there's no such thing as thisLayer.duration? What is the equivalent to get this code to work for a shape layer?


Return to posts index

Dan Ebberts
Re: Fade out at the end of comp
on Jan 14, 2017 at 12:36:24 am

This should work:

fadeTime = 1; // fade out time (seconds)
ease(time,outPoint-fadeTime,outPoint,value,0)


Dan



Return to posts index

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