5 Replies Latest reply on Aug 3, 2007 3:04 PM by ntsiii

    Embed a Flash Application into a Flex Application

    Yann Martel
      Hello everybody,

      I'd like to know if there is a way to embed a Flash Application into a Flex Application. My goal is to wrap Flash apps in Flex Modules, and I don't know how to do it.

      I know it is possible to embed swf by using @Embed and an mx:Image tag, or to use flash content by creating a flash swc component. However these two solutions don't allow to call the methods of the Flash app.

      On the other hand, it is possible to load a swf file via the Loader Class, and then call the methods via loader.content. But with this solution I can't embed the swf in my flex application and I have to load it at runtime.

      Any ideas ?