This works (tested on iPad3, adhoc package)... though there may be
better ways..
...
this._swfurl = new URLRequest("my.swf");
this._loader = new Loader();
this._loader.load( new URLRequest("my.swf") , new LoaderContext(false,
ApplicationDomain.currentDomain, null) );
this._loader.contentLoaderInfo.addEventListener(Event.COMPLETE,this.show
Swf);
....
private function showSwf(event:Event):void
{
var container:UIComponent = new UIComponent();
container.addChild(this._loader);
this.addElement(container);
}
...
Note the UIComponent was the only way I could find to add the loader to
the display.
J :)