Using swf files compiled as swc in a ios project
Hi,
I might have a quite stupid question, but here I go anyway since its not easy on iOS.
I have 10 swf files (each file is 1 game with all assets + as3 inside it)
I'd like to make now an iOS app (air 2.7) which can play those 10 games on selection.
Normally on iOS its not allowed to load in swf files with AS3 in it because you may not use interpreter by Apple.
Now, on http://www.flashrealtime.com/compiling-big-air-swf-to-ios/ I read some info about a trick to use SWC.
Here is my question now.
If each of my 10 swf files actually contains 1 movieclip on stage which by itself contains all game logic (as3) and assets inside it, then can I compile these 10 swf files each one to a swc and somehow include them in a big iOS app ?
For example
in game1.swf the main movieclip would be on stage and would be exported for actionscript under the name "game1_mc"
in game2.swf the main movieclip would be on stage and would be exported for actionscript under the name "game2_mc"
in game3.swf the main movieclip would be on stage and would be exported for actionscript under the name "game3_mc"
in game4.swf the main movieclip would be on stage and would be exported for actionscript under the name "game4_mc"
...
Can I then somehow include all those swc files inside my 1 big application ?
And can I then somehow instantiate one of these movieclips and add them to the displaylist to start a game ?
This could solve a big problem for me, but I'm very unsure if thats possible.
Kind regards,
Bart
