title: Handle ExternalInterface Call, comming from local swf file, in Adobe Air 3.4 Actionscript 3 application
body: <p>So We got a playlist with various swf files, some old as2 animations, some newer.
  We download them to a local folder, and can play them fullscreen. all with one AIR (actionscript) application. Now we know that in the newer files there are ExternalInterface.Call(some arguments) calls. And we need to handle them in the hosting AIR application. So far we have a class inherrited from MovieClip, with the following constructor:</p>
  
  <pre><code>public function FlashClip()
      {
          ExternalInterface.addCallback("FlashPlayerControl1FlashCall",FlashPlayerControl1FlashCall);
      }
  </code></pre>
  
  <p>when we run the application whe got the following error:</p>
  
  <blockquote>
    <p>Error: Error #2067: The ExternalInterface is not available in this container. ExternalInterface requires Internet Explorer ActiveX, Firefox, Mozilla 1.7.5 and greater, or other browsers that support NPRuntime.
        at Error$/throwError()
        at flash.external::ExternalInterface$/addCallback()
        at Video::FlashClip()[C:\Users\Daan\Adobe Flash Builder 4.6\TINS-v2-1\TINSV2\src\Video\FlashClip.as:12]
        at Video::FlashPlayer/BestandOpend()[C:\Users\Daan\Adobe Flash Builder 4.6\TINS-v2-1\TINSV2\src\Video\FlashPlayer.as:43]</p>
  </blockquote>
  
  <p>On the following line:(FlashPlayer.as:43)</p>
  
  <pre><code>   var clip:FlashClip = new FlashClip();
  </code></pre>
  
  <p>So, My question is this. Is what we are trying to do even possible. Or do we need tot embed a javascript container in the actionscript AIR application? Or does anyone know how we are going to get this to work?? Note: We cannot alter the existing swf files. we dont even have the original .fla's</p>