removeMovieClip method clear the object create from createEmptyMovieClip
method in cache.
test:
mc = this.createEmptyMovieClip("a", 1);
mc.loadMovie("aa.swf");
//mc.removeMovieClip();
mc.loadMovie("aa.swf");
mc = this.createEmptyMovieClip("a", 1);
mc.loadMovie("aa.swf");
mc.removeMovieClip();
mc.loadMovie("aa.swf");
[]'s
Leandro Amano
On 5/9/07, Lois IN <[EMAIL PROTECTED]> wrote:
Hi!
First of all excuse me for my english.
I have a little question for you about optimises my flash movies:
I generate a movie clip dynamically: createEmptyMovieClip, and loads a SWF
into this.
When I don't need more this MC and the SWF, I only delete the MC with:
removeMovieClip.
My question is: I need to unload the SWF too?(unloadMovie)
If I don't unload the SWF, this stills remains in the player cache?
Thank you very much coders!
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
--
--
Leandro Amano
Digital Bug
Chief Creative Officer
Adobe Certified Expert
Adobe Certified Instructor
Adobe User Group Leader
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com