This content has been marked as final. Show 3 replies
It sounds like you want to create one SWF using Flash Authoring, and then load that SWF into a Flex 2 app and call functions across that boundary.
You can only call a function in a loaded SWF directly from a containing Flex 2 app if the SWF you're loading uses ActionScript 3. Currently, the version of Flash Authoring that supports publishing ActionScript 3 SWFs is in beta:
Flex Builder team
The official solution is to use LocalConnection with Flash 8 movies. Search the general forum.
I've also tried using the Flash 9 Preview authoring tool and have had no success in calling methods on the movie from my Flex application. Anyone else have success?
I recompiled my Flash 8 SWF with the Flash 9 preview, but was still not able to access the methods on the SWF. What is the recommended methods for loading/embedding the SWF into the Flex app and accessing it?
The problem with local connection is that it limits you to one instance of the application being able to run, since the connection names are system wide.