----- Original Message ----- From: "Hyder" <[email protected]> To: <[email protected]> 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

