I have an ExternalInterface call in my application that looks like this: ------------------------------------------------------------------------------------------------ ExternalInterface.call(BrowserScriptsJS.GET_BROWSER_INFO); ------------------------------------------------------------------------------------------------
The variable GET_BROWSER_INFO looks like this: ------------------------------------------------------------------------------------------------ *public* *static* *var* GET_BROWSER_INFO:XML = <script><![CDATA[ *function*() { *var* nav = navigator; *return* nav; } ]]></script>; ------------------------------------------------------------------------------------------------------------------------------ So how do I get a response from the Javascript? Do you have to create a proxy function in an example like this, the proxy function being where you make the ExternalInterface.call and then another function using ExternalInterface.addcallback for the return? Also, and the above may answer this question, when you use ExternalInterface to communicate with Javascript, must you always use call *and* addcallback, i.e.: the request, then the response? Thanks.