2 Replies Latest reply on Jul 16, 2009 7:22 PM by chiYeung

    Get reference on loaded swf application

    eprevot Level 1

      From the main application I load a sub-application with SWFLoader, in a sibling applicationDomain. 


      loaderCtx:LoaderContext = new LoaderContext();
      loaderCtx.applicationDomain = new ApplicationDomain();

      swfLoader.loaderContext = loaderCtx;



      From my main application, how can I get a reference on the subAp instance ? (to change the value of an attribute for example)


      Note : When they are in the same applicationDomain, I can use  SystemManager(swfLoader.content).application  but here the conversion to SystemManager will throw an error.