Hi Darth,
Have a look at this blog post I think this will cover how you will need to do what you want to do. http://weblogs.macromedia.com/pent/archives/2006/07/using_actionscr.cfm The only major stubbing blocks which you are going to have is that you are going to need to write a Flex (ActionScript 3) Wrapper for your flash application (ActionScript 2). As you can load/run ActionScript 2.0 SWF’s from inside an ActionScript 3 compiled SWF and not the other way around. The second major problem you are going to have is communicating between the different versions of ActionScript. As you see in the above post this is possible by using the local connection object. I hope this is off help. James _____ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of darth_mambo Sent: 03 January 2007 10:19 To: [email protected] Subject: [flexcomponents] Flex and Flash Integration At my company we have a legacy Flash application that I would like to make "sexy flexy". It is quite large (over two hundred forms) so a complete re-write is out of the question. The application is constructed in the following manner... There is one SWF which contains an accordian and a main content pane. When a different accordian entry is selected, a different SWF is loaded into the main viewing area (allowing us to break up the application and reduce the initial download size). I was hoping that I could just add a new entry to accordian and just get it to load a SWF produced by Flex. Is this actually possible? I can't get it to work. I think it might be because Flash and Flex use two different Virtual Machines. Any direction with this would be helpful as this is currently the only thing left preventing my company from getting into Flex development. -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.16.3/614 - Release Date: 02/01/2007 14:58 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.16.3/614 - Release Date: 02/01/2007 14:58
