2 Replies Latest reply on Oct 4, 2011 6:07 PM by sndpos

    How can I access propertys in SWFLoader content on Flex SDK 4.5.

    sndpos Level 1

      It was possible on Flex SDK 4.0.


      like this.


      sample code


      public var loadedSM:SystemManager;


      private function checkLoadInit():void


      loadedSM = SystemManager(loader.content);

      var app:Application = Application(loadedSM);

      if(app != null){






      But, I need to use Flex SDK 4.5.


      This program can not cast SystemManager to specific class because it is decided at the runtime which file will be loaded.

      Is it possible?