Hi everybody,
I have quite tough time trying to remove a MC completely and I can’t find a solution to it. Here is what I do:
- I create an MC using createEmptyMovieClip() (let’s call it “MAIN”)
- I create 10 MC’s in MAIN and I draw to them with the Flash api, the depth for the 10 new MC’s is MAIN.getNextHighestDepth()
- Now I call MAIN.removeMovieClip() - works, MAIN is removed
—so far so good but now comes the problem— - I create an MC called MAIN again, same depth as the previous one
- I create more MC’s in MAIN and I draw to them with the Flash api BUT the old MC’s seem to be still there, even the depths for the new ones are 11-20 so the old ones are obviously there.
How the heck do I remove the old MAIN completely with all it’s objects and properties? All comments greatly appreciated, thanks for reading!
P.