Welcome to flashlibrary.co.uk

Use swapDepths() to remove MovieClips

MovieClips need to have a positive depth to be removed.

If removeMoiveClip() doesn’t appear to work the odds are the movieClip has a depth of less than zero. If the movieClip has a depth of less than zero it can’t be removed. Any movieClips that are not added with Actionscript will automatically have a depth less than zero. If you need to remove any of these elements just use swapDepth(postitive number) then removeMovieClip(). Odd but true. You can check the depth for a moveClip using .getDepth().

Comment on Page

If anything is unclear or just plain wrong let us know and should ammend it pretty sharpish. If you visited the page with a particular question leave it and if it's flash related I'll try to answer it.