A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Dynamically detroy movieclip?

Hybrid View

  1. #1
    Senior Member
    Join Date
    Dec 2003
    Posts
    188

    Dynamically detroy movieclip?

    Is there a way to dynamically destroy or remove a movieclip in actionscript?

    Right now I'm setting the ._visible to false, but I'd rather be able to just delete the movieclip alltogether.

  2. #2
    ___________________
    Join Date
    May 2004
    Posts
    3,174
    this.removeMovieClip();
    delete this.whatever;
    removeMovieClip(this);
    unloadMovieClip(this);
    this.unloadMovieClip();

  3. #3
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    my_clip.unloadMovie();

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