[as3]
//look for screen movieclip
if (Boolean(this.getChildByName(‘screen’))) {
trace("found screen movieclip");
removeChild(MovieClip["screen"]);
}
if (!Boolean(this.getChildByName(‘screen’))) {
//clip doesn’t exist create it
}
[/as3]

Leave a Reply

Your email address will not be published. Required fields are marked *

Post Navigation