[Flashcoders] hi All

2008-07-11 Thread Martin Klasson
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


Re: [Flashcoders] hi All

2008-07-11 Thread Eduardo Omine
Martin, you can access library assets from loaded SWFs and create
multiple instances of those assets. It's not exactly the same thing,
but still *very* useful.

var Asset:Class =
Class(loader.contentLoaderInfo.applicationDomain.getDefinition(assetLinkageName));

var assetInstance:MovieClip = new Asset(); // type your instances accordingly

* * *

Read more at:
http://www.scottgmorgan.com/blog/index.php/2007/06/18/runtime-font-embedding-in-as3-there-is-no-need-to-embed-the-entire-fontset-anymore/

-- 
Eduardo Omine
http://blog.omine.net/
http://www.omine.net/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] hi All

2008-07-11 Thread Mark Winterhalder
 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


[Flashcoders] Hi all

2006-11-01 Thread Chris Benjaminsen

Hi all

Some of you people might know me from the OSFlash mailing list. But so 
fare I have not participated on this email list.
Anyway I just wanted to tell the world that I released my flash 8 webcam 
barcode scanner as a 100% free component.


A bit more boring info + a download link can be found here:
http://parentnode.org/uncategorized/free-webcam-based-barcode-scanner-component/

Regards,
Chris Benjaminsen
___
Flashcoders@chattyfig.figleaf.com
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