Hi I'm developing a mobile application that that allows a user to choose one of several sub-applications and then runs that sub-application. These sub-applications are interactive, flash based training modules. These applications are also composed of multtiple .swf files that interact and create the various screens of the application. I know how to load one of these .swf files and get it to display using the SWFLoader, however I don't know how to get the entire sub-application loaded and running. Is there an easy to way to load all of these .swf files and run them concurrently or at least in way so that they can interact?
Yes, you can load any number of SWFs that interact with each other (except in iOS of course). You just need a parent container with the logic to get any messages to where they are going. Maybe I don't understand the question. Is there a specific design decision in your app that is preventing you from doing so? What problem are you trying to solve, specifically?
AIR does allow such a thing, but Apple does not. It is a violation of the iOS Developer Guidelines to load executable content at runtime. Assuming there is no code in the SWF [most of them have at least a call to stop()], then it should work in iOS.
To load multiple SWFs, just use multiple SWFLoader instances and place them on the display list. It helps if your loaded SWFs implement a common interface so you can interact with them in a generic way.
North America
Europe, Middle East and Africa
Asia Pacific