A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: removeMovieClip

  1. #1
    Member
    Join Date
    Aug 2008
    Posts
    33

    removeMovieClip

    I have some problems removing MovieClip....

    usually i use "_root.attachMovie("abc", "abc", this.getNextHighestDepth(),{_x:0, _y:0});".....

    but for some reasons, i use "_root.attachMovie("abc", "abc", 1,{_x:0, _y:0});"...therefore i suspect that because of this, the attached MovieClip is not removed...

    _root.abc.removeMovieClip(); dun seem to work....

  2. #2
    Junior Member
    Join Date
    Mar 2009
    Posts
    8
    I think you are trying like this ... is this so ?

    Code:
    _root.attachMovie("abc", "abc", 1, {_x:0, _y:0});
    btn.onRelease = function() {
    	_root.abc.removeMovieClip();
    };
    Anyway its working.

    Flash Guru
    http://www.flashknight.com

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