title: External swf plays very slow on iOS
body: <p>I'm writing an application using as3 and adobe air that loads external SWF files and plays them internally in the application. The container works just fine with android and the animation of the external swf file is very cool. </p>
  
  <p>However, on the iOS (iPad 2),  it runs very slow as if its playing only 1 frame per second. </p>
  
  <p>Is there anyway at all to make it play faster. </p>
  
  <p>My application configuration is as follow: </p>
  
  <pre><code>&lt;initialWindow&gt;
      &lt;autoOrients&gt;false&lt;/autoOrients&gt;
      &lt;aspectRatio&gt;landscape&lt;/aspectRatio&gt;
      &lt;renderMode&gt;gpu&lt;/renderMode&gt;
      &lt;fullScreen&gt;false&lt;/fullScreen&gt;
      &lt;visible&gt;true&lt;/visible&gt;
      &lt;softKeyboardBehavior&gt;none&lt;/softKeyboardBehavior&gt;
  &lt;/initialWindow&gt;
  </code></pre>
  
  <p>This is the part of code where I load the external swf:</p>
  
  <pre><code>    public function set url(value:String):void
      {
          _url = value;
          object.source = File.applicationDirectory.resolvePath(value).url;
          object.addEventListener(Event.COMPLETE , onLoaded);
      }
  
      protected function onLoaded(event:Event):void
      {
          object.addEventListener(Event.ENTER_FRAME, onEnterFrame);
  
      }
      protected function onEnterFrame(event:Event):void
      {
          if((object.content as Object).currentFrameLabel == "stop")
              (object.content as Object).stop();
      }   
  </code></pre>
  
  <p>I also tried to comment the Enter frame event listener but nothing changed.</p>
  
  <p>Thanks in advance.  </p>
  
  <p>Edit: 
  I figured out something that is very strange actually. When I run the application from the application with the Fast configuration, it runs fast. But when I publish it or use the Standard option while running it runs really slow. 
  Tested with AIR 3.2 </p>