1 Reply Latest reply on Aug 13, 2007 1:19 PM by kapelletier

    Pass Parameters to Parent Window

      How can one pass a parameter or call a parent html javascript function from FLEX. here is what I am trying to do. I have a FLEX tree that when a node is clicked I would like to call a javascript function. The FLEX application is a object on the HTML page. any help would be creat
        • 1. Re: Pass Parameters to Parent Window
          I'm using the ExternalInterface... as in:


          where "MyJavaScriptFunc" is your JavaScript function name as a string and params are the parameters you're sending to the JScript.

          If you'd like to call into your Flex App. from Javascript, you just need to register your method via addCallBack()... look up ExternalInterface in the docs... good examples there