AIR for iOS, Embedded SWF MovieClip
I would like to play a movie clip that I have a in a separate SWF file. The following code works on my PC debugger, but the movie does not play (or even load) on iPhone. Is this possible on iOS? What am I doing wrong? Thanks in advance...
[Embed(source = '../assets/cinematics/test.swf', mimeType='application/octet-stream')] static public const CINEMATIC_A_SWF:Class;
loader = new Loader();
var context:LoaderContext = new LoaderContext();
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, movieLoadComplete);
loader.loadBytes(new CINEMATIC_C_SWF() , context);
private function movieLoadComplete(evt:Event):void
{
movieClip = (loader.content as MovieClip);
movieClip.play();
}
