you are in: codestackercodes [RSS] → tag: movieclip [RSS]

remove all movieclips Delicious

a simple sample

show/hide lines
   1  // 3 solutions
   2  
   3  for (var i in holder) {
   4      if(typeof(holder[i])=="movieclip" && holder[i]._name.substr(0,4)=="foo_") {
   5             holder[i].removeMovieClip();
   6      }
   7  }
   8  
   9  for (var i=0;i<noOfclips;i++) {
  10      var clip=_root["mc"+i];
  11      clip.removeMovieClip();
  12  }
  13  
  14  for (var n in this) { 
  15      removeMovieClip(this[n]); 
  16  }
created by anonymous — 04 July 2008 — get a short url — tags: actionscript flash movieclip embed