Ridding MCs.
AS3: Getting rid of movie clips.
As far as I know, there IS NO WAY. No way to perminently delete it from Flash, anyways. The best you can hope for is clearing every existing variable that references to the clip, then going removeChild(clip) and deleting all listeners that listen for the clip (because they keep an instance of the clip).
Posted by
at
20:33:23
Yeah, the absence of removeMovieClip is pretty annoying…
If you delete all references to the variable, then garbage collection should remove it from the heap.