A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: how can i remove duplicated movieclips

  1. #1
    Junior Member
    Join Date
    Mar 2002
    Posts
    1
    Hello I'm new here and i hope you can help me.
    How can i remove duplicated movieclips without having to do them one by one?

  2. #2
    Senior Member catbert303's Avatar
    Join Date
    Aug 2001
    Location
    uk
    Posts
    11,222
    assuming the clips are named clip0, clip1, clip2 etc
    you can do

    for (i = 0; i < number_of_clips; i++) {
    clipName = eval("clip" + i);
    clipName.removeMovieClip();
    }


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center