Have you considered loading the SWF as binary data through the Loader class?
Supposedly, you can use Loader.loadBytes to load a SWF as a byteArray and
then add it to the display list.  If you keep a copy of the byteArray, you
should theoretically be able to add it to the display list as many times as
you like.  (I've never done this, so I could be way wrong)

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Danny
Kodicek
Sent: Friday, July 21, 2006 12:39 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Trying not to loadMovie multiple times


> If you are using loadMovie to load in static JPEGs or still images of
> some kind, you could initially load them into a hidden movieclip on
> stage... then when you're ready to duplicate them, you could use
> BitmapData.draw() to clone them into place.

It's a good idea, but unfortunately I'm loading in text and the Flash movie
needs to be scaleable so I don't want to lose the vector data.

I think I may have found a workround which means I don't need to load in as
many copies as I was doing, so hopefully I should be okay, but I'm still
interested in hearing any alternative solutions.

Danny

_______________________________________________
[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


_______________________________________________
[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

Reply via email to