Hi, I have a suggestion, but someone may have a more in-depth answer.
Have you tried just using:
removeMovieClip(my_mc);
?
Best,
Karl DeSaulniers
Design Drumm
[email protected]
http://designdrumm.com
On Aug 4, 2009, at 3:15 PM, Jim Lafser wrote:
I'm having some trouble with removeMovieClip - it doesn't appear to
be working
I have code that does an attachMovie that looks like:
var my_mt_mc:MovieClip = createEmptyMovieClip( ... );
var my_mc:MovieClip = attachMovie(linkageId, "aMovie"+depth, depth,
init);
and later I do
my_mc.removeMovieClip();
If I list the properties of "this" using for(var i in this)
I can see that aMovieX still exists.
I've tried doing a removeMovie on aMovieX, but that doesn't work
either.
The movie clip has an onUnload method and I can see that it gets
called.
Any suggestions?
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders