And keep in mind that if you use @Embed or [Embed], any AS2 in the SWF may be stripped out.
Alex Harui Flex SDK Developer Adobe Systems Inc.<http://www.adobe.com/> Blog: http://blogs.adobe.com/aharui From: [email protected] [mailto:[email protected]] On Behalf Of Paul Andrews Sent: Sunday, April 05, 2009 10:00 AM To: [email protected] Subject: Re: [flexcoders] Loading AS2 SWF in Flex 3 ----- Original Message ----- From: "Hyder" <[email protected]<mailto:Hyder_m29%40hotmail.com>> To: <[email protected]<mailto:flexcoders%40yahoogroups.com>> Sent: Sunday, April 05, 2009 5:47 PM Subject: [flexcoders] Loading AS2 SWF in Flex 3 > I'm trying to load an AS2 swf using SWFLoader (Embedded) in a TitleWindow. > > The SWF file plays fine in a standalone player, but when embedded in Flex, > AS2 scripted animations don't display. > > I'm loading it inside Flex so that I can communicate using > LocalConnection. Right now, I'm loading it in a separate HTML file but > there's no way of communication with Flex. > > > So, I need to know either how I can embed the SWF file in Flex without > losing any of its AS2 script, or how I can communicate between Flex and > Flash when they're loading in two different wrappers. > > I need to send product objects from AS2 Flash to Flex, so it's not just > polling which could've been achieved by manipulating the URL. Check out LocalConnection. Going the opposite way is described here: http://www.learningactionscript3.com/2007/12/14/sending-data-from-avm2-to-avm1/#more-29 Paul

