Hi,
You can embed assets from Flash into Flex using the [Embed] meta
directive.
In Flash all the MovieClips in your library need to have a LinkageID
- not sure if they need to be on the timeline, but probably a good idea.
In Flex you can [Embed] individual MC's or an entire SWF at compile
time (assets will expand the SWF file).
You need to put the [Embed
Keith Peters has a good example of the code needed here:
http://www.bit-101.com/blog/?p=853
Not 100% how this translates to MXML or if that is possible.
Also not sure about runtime shared libraries, but try googling with
flex too.
HTH
Glen
Gregory N wrote:
Hi all,
I have an application made a while ago in as1 (flash 6).
Now I need to make new version of it in AS3.
Fortunately, there's no code in clips, only in frame 1 on _root :-).
But all graphics currently is in FLA.
And I haven't upgraded to Flash CS3 yet (hope not to do it at all).
I've seen this article:
http://www.adobe.com/devnet/flash/articles/flex2_flash.html
But it mentions Flex Builder 2, not SDK.
Question:
Can I (if yes, how) use graphics from flash 8 with flex 2 sdk?
I can think of loading "graphics-only" swfs (as2) into final (AS3) swf...
But doubt that I'll be able to access their assets (not code, just mc's).
--
Glen Pike
01736 759321
www.glenpike.co.uk <http://www.glenpike.co.uk>
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders