Chcking for the existance of a movie clip by its instance name
hey, i'm working on as2 stuff , in 1 function have used
_root.attachmovie("box_mc", "box"+boxcount, _root.getnexthighestdepth());
to attach few boxes on stage(expecting 100+)...
what want (from different function) check see if box exists string of instance name e.g. ifmovieclipexists("box3");
is there function this?
cheers,
jamey
_root.attachmovie("box_mc", "box"+boxcount, _root.getnexthighestdepth());
to attach few boxes on stage(expecting 100+)...
what want (from different function) check see if box exists string of instance name e.g. ifmovieclipexists("box3");
is there function this?
cheers,
jamey
movieclipexists = _root.box3 <> undefined;
//will true if clip exists , false if not
//will true if clip exists , false if not
More discussions in ActionScript 1 and 2
adobe
Comments
Post a Comment