destroying dynamic movie clips
hey all. drawing lines xml data based upon item in list user selects. problem is, if have selected item, want lines(few hundred each) associated destroyed, disappear, long user not see them. able use counter in naming scheme. use counter tell if movieclip has been created. once know this, try destroy or make invisible nothing works. appreciated.
hi,
use --> removemovieclip(_root["linename"+i]);
or --> _root["linename"+i].removemovieclip();
instead of --> destroyobject("_level0.linename"+i);
should work fine!
use --> removemovieclip(_root["linename"+i]);
or --> _root["linename"+i].removemovieclip();
instead of --> destroyobject("_level0.linename"+i);
should work fine!
More discussions in ActionScript 1 and 2
adobe
Comments
Post a Comment