> When I have loaded one swf, can I store it - and use it at multiple places?

You may want to look into shared libraries because they might be a
better solution (using the browser cache), but if you use a loader SWF
then you can have it load another SWF with URLLoader, and store that
in a local SharedObject, to be loaded via Loader.loadBytes(). However,
the capacity of a local SharedObject is only 100KB by default, so you
would have to ask the user for permission if that's insufficient.

HTH,
Mark



On Fri, Jul 11, 2008 at 4:13 PM, Martin Klasson <[EMAIL PROTECTED]> wrote:
> Am fairly new into the AS3 features, but I guess this still isn't doable:
>
> When I have loaded one swf, can I store it - and use it at multiple places?
>
> it can be done with images that are loaded by using bitmap/bitmapdata and so
> on...
>
> but that cant be done with swfs still can it?
> I dont have a problem - I am just wondering about if it is possible,
> I tried using ByteArray to clone a loaded swf and adding it to another
> child,
> but that did not work.
>
> Just curious if it should work?
>
>
> --
>
> Martin Klasson
> Flash Developer
> Parkgatan 9-11
> S-411 24 Göteborg
> Sweden
> Office +46 (0) 31 711 54 50
> Cell +46 (0) 730 964 561
> [EMAIL PROTECTED]
> www.kokokaka.com
> _______________________________________________
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to