1 Reply Latest reply on Aug 22, 2008 3:37 AM by anirudhs

    AIR and loaded SWF communication

    AS_Coder
      Hello,

      I am creating a simple application where I am loading a SWF file inside the application and I need a communication with AIR and loaded SWF and vise versa. Can any one help me to solve this problem.
      (The loaded SWF file is developed using AS1.0).


      Thanks in advance
        • 1. Re: AIR and loaded SWF communication
          anirudhs Level 2
          Hi,

          If you are using mx:HTML to load the swf, you can communicate with the swf inside it using FSCommand / ExternalInterface. (Don't know if they were available in AS 1.0)

          If you are using a SWFLoader, you can simply traverse down that to get to objects inside the SWF. The SWF can use Application.application to talk to the parent (Though this will only be available in AS 3).