cannot remove movieclip

(this certainly applies to flash 7 and 8)

Have you ever dynamically created a movieclip using actionscript and then not been able to remove it again?

The chances are because the flash player's depth manager is playing silly devils. If you have any components in your swf then the depth manager will have its sticky little fingers all over your swf. This plays havoc with dynamically generated movieclips.

The short answer to this problem is that you need to swapDepths for the movieclip you are trying to remove before you can remove it. I would suggest swapping to a depth of 63000, and then removing the movieclip.

Post a comment