FORUMS: list search recent posts

mask of precomp control from inside

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Pavol FejeŇ°
mask of precomp control from inside
on Nov 14, 2016 at 9:48:08 pm

Hi guys,

I'm trying to find a way how to control the mask of precomp from inside of the same precomp.

Everything is fine. It works.
But if I want to close AE or project... Alert... AE has stopped working and will be shut :|
Is there anyone with the same problem or is that incorrect work with masks?
Is it way how to do it correctly?

Thank you

try{
Master = comp(thisLayer.name).layer("ramecek").mask("Mask Master").maskPath;
exists = true;
}catch (err){
exists = false;
}

if(exists) Master
else
mask("Mask Slave").maskPath;


Return to posts index

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