felt_tips just locked my thread so i’m here, here is my problem : i’m making an ident template ( https://www.youtube.com/watch?v=sYXpYzC4ehU&list=UU26xFDgmcDXT-vY7rvTpv6w ) and i would like to add checkboxs for the buyer so he can enable or disable an element with just a click. Does anyone know how to do it ? Thanks
Motion Max answered me :
for example if you are using checkbox control for opacity apply to the checkbox control to some layer for ex Null 01 alt+click on opacity timer it will look like this
if(comp(“comp name”).layer(“layer name”).effect(“Checkbox Control”)(1)==0)0 else 100;
comp(“comp name”).layer(“layer name”).effect(“Checkbox Control”)(1) for this you can pick from while wrting the expresssion on layer
Me : http://i.imgur.com/imnm60d.png As you can see, i’m trying to add an enable/disable effect with check box, The layer is called circle and the check box is called ^ci containned on the layer called Elements color|ON/OFF
Motion Max answered me :
only write this expression
if(comp(“ANIMATION”).layer(“Elements color|ON/OFF”).effect(“ci”)(1)==0)0 else 100;
instead of Checkbox Control you have to write ^ci
Back from work, i’ve tried what he told me to do but this error message poped up http://i.imgur.com/apvxayl.png
thanks guys to help me ;s