dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Darn movie clip won't unload

  1. #1
    Hey all,

    I have 3-5 MC created using duplicatemovieclip, they are named as so, p1, p2, p3, p4, p5. I am using the following code to remove them.

    i = "0";
    while (Number(i) <= Number(p)) {
    ++ i;
    removeMovieClip (eval("_root." add "p" add i));
    }

    For some reason p1 will not go away!!! The rest do but not the first one.

    Any Ideas?

  2. #2
    Junior Member
    Join Date
    Dec 2000
    Posts
    23

    Post

    Is p1 duplicated from another Clip, too?

    ( Maybe a stupid question :-) )



  3. #3
    Denied ACCESSORIES
    Join Date
    Dec 2000
    Location
    Rio de Janeiro
    Posts
    208
    Originally posted by creativeflow
    Hey all,

    I have 3-5 MC created using duplicatemovieclip, they are named as so, p1, p2, p3, p4, p5. I am using the following code to remove them.

    i = "0";
    while (Number(i) <= Number(p)) {
    ++ i;
    removeMovieClip (eval("_root." add "p" add i));
    }

    For some reason p1 will not go away!!! The rest do but not the first one.

    Any Ideas?
    are the while commands and the remove on the same frame?

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