using a slider control to turn layer opacities on & off?


i have series of 9 mouth images lip synch.

(if there better way (which i'm sure there is) achieving following want's achieve please let me know)

i'm wondering if there's way create slider control (value 1-9) effect opacities of 9 layers accordingly (turning them on , off) slider's value raises.

something along lines of

if(effect slider > 0 || effect slider < 1.1)  ((thiscomp.layer("mouth_0001_eee.png").tramform.opacity = 100) else (thiscomp.layer("mouth_0001_eee.png").transform.opacity = 0)

 

obviously don't have scripting experience.  expression have re-written each layer different range (0 - 1.1 , 1.1 -  2.1 , 2.1 - 3.1 , ect)

 

as type seems highly inefficient, might animate each layers opacity directly.

is there efficient way imagining?

 

thanks,

 

paul

i lip sync using multiple images using time remapping on image sequence mouth shapes on single layer that's few frames long. sounds using 9 layers , want animate opacity. if that's technique using i'd set expression looks layer markers.

 

by far easiest way lip sync script friend mathias mohl: auto lip-sync - aescripts + aeplugins - aescripts.com

 

it depends on workflow.



More discussions in After Effects


adobe

Comments

Popular posts from this blog

Soustraire une selection

After Effects: could not find dvaeve_dialogs.txt

Illustrator cs6 "Invalid Serial Number"