1 Reply Latest reply on Mar 18, 2008 10:57 PM by anirudhs

    External Interface with C++

      I have a Flex swf in a C++ container and I want to be able to communicate between the swf and the container. Is this possible with external interface? Can I use setVariable and getVariable? Thanks
        • 1. Re: External Interface with C++
          anirudhs Level 2

          I can confirm that it is possible for communication between the container and swf via ExternalInterface when you have the IE ActiveX flash player control embedded in a Visual C++ app.

          This can be taken to the next level by using the Flex C++ Bridge which allows you to communicate with the SWF by writing code like oRootObj.Call("getbutton1").Call("addEventListener", "click", SampleCallback); .

          The source code for the bridge can also be used to learn how to handle ExternalInterface calls in C++.