Ok this is the first time i've had this issue with removemovieclip so bear with my amazement. I have an application with popup windows created with attachMovie. These windows have the following script on frame 1 of their movieclip:

closer.onPress = function() {
   this.gotoAndStop(2);
};
closer.onReleaseOutside = function() {
   this.gotoAndStop(1);
};
closer.onDragOut = function() {
   this.gotoAndStop(1);
};
closer.onRelease = function() {
   this.gotoAndStop(1);
   this._parent.closeMe();
};
function closeMe() {
   removeMovieClip(this);
}

closer being the close button instance name.
The closeMe function is called, but removeMovieClip does nothing. I did a trace(this); removeMovieClip(this); trace(this); and both traces show up, showing the correct path, but nothing is removed.
Is there a good reason for this? What am i missing.

- Andreas
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to