FORUMS: list search recent posts

Ref Audio Amplitude from parent comp from inside nested comps

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Brian Mills
Ref Audio Amplitude from parent comp from inside nested comps
on Jan 26, 2012 at 7:24:45 pm

Hello all
I have a project where i have an expression that uses audio amplitude to turn on lips during whistling. I have many different scenes I am setting up that are going to be there own comps.

I want to use these comps on a main comp with the music reference. So that way if I move these nested comps around and the timing with the music will still trigger the lips to turn on to make it look like h=they are whistling with the song.

Can i reference an audio amplitude layer on the main comp from inside the nested comps?
Thanks
Brian

a = thisComp.layer("Audio Amplitude").effect("Both Channels")("Slider");
if (a >.3) 100 else 0


Return to posts index

Dan Ebberts
Re: Ref Audio Amplitude from parent comp from inside nested comps
on Jan 26, 2012 at 7:34:00 pm

Sure:

a = comp("Main Comp").layer("Audio Amplitude").effect("Both Channels")("Slider");


Dan



Return to posts index

Brian Mills
Re: Ref Audio Amplitude from parent comp from inside nested comps
on Jan 26, 2012 at 9:05:29 pm

Thanks again Dan!



Return to posts index

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