cosnetics
making better use of the web
Home
Products
Airwave Batteries Included ProFix SynchroMesh
Services
Design Development Online Marketing
Case Studies
Brighton Conference Centre Greyhound Megastore Retired Greyhound Trust
Play a game
Card Pairs Mastermind
Miscellaneous
ActionScript Resources Articles Webmail

Last updated: 24/03/2008 16:24:11 GMT

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.