this is probably an easy question, but I can’t seem to find the answer.
I want to change visiability of a movieclip based on a string.
This is what I tried, and this does not work!
if (“mymovieclip” in this){
//if movieclip exists, do stuff
var instance = this+".mymovieclip";
instance.visible = true;
}
Comment please