3 Replies Latest reply on Mar 2, 2009 5:21 PM by BrianatArena

    loading external swf in AIR

    ASnewbie
      In AS3 this would load loadme.swf into my holding mc (contentmc) provided both the holding swf and loadme.swf are in the same directory

      var loaderMC:Loader=new Loader();
      loaderMC.load(new URLRequest("loadme.swf"));
      contentmc.addChild(loaderMC);

      But it does not work in AIR. Any reason why? what am i missing out or is there a new way to do it?

      thanks
      Murtaza Topiwalla