All assets in Flash 8.5 and AS3 are now class-based.
 
The equivilent to attachMovie is "new", as in "create a class instance".
 
Because there is no public version of Flash Authoring out that emits AS3 classes, we're in a temporary phase where we embed old-style assets and have Flex generate a wrapper class around them, which you then create via "new".
 
Once the next version of Authoring is out, you will simply export a SWC from Blaze, add it to your Flex library path, and just use "new" - the "export" library symbol name in Flash will become the classname.
 
-rg


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Manuel Saint-Victor
Sent: Monday, April 03, 2006 10:24 AM
To: [email protected]
Subject: Re: [flexcoders] attachMovie() Flex equiv?

Which version of Flex are you using?

On 4/3/06, bclinkinbeard <[EMAIL PROTECTED]> wrote:
Hello all,

Very new to Flex development and am having a hard time figuring out how
you can create interfaces that aren't completely component based. Is
there a Flex equivalent to attachMovie()? The only info I have found
talks about loading a library swf and then using Embed to grab a
particular symbol by doing something like my.swf#symbolName. Is this the
only way? Is this the best way? Seems like it would be quite a pain if
you had a library swf with 50 symbols you wanted to be able to load in
and access.

Any help is appreciated.

Thanks,
Ben






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to