0 Replies Latest reply on Nov 4, 2008 2:46 PM by garry.b

    Using ActionScript and FABridge to call JavaScript

    garry.b
      Hi,

      I understand how to use FABridge to register JavaScript functions as event listeners on Flex
      components. In my case, however, I want to programatically call a function that I've passed
      from JavaScript to my Flex app using ActionScript. Simply calling the function from AS, e.g.,
      my_js_function(), doesn't work and I suspect there's some vital FABridge proxy magic I should
      be using. All the FABridge examples I've seen cover the same ground: basic bridge set-up,
      changing Flex properties, registering JavaScript callbacks, etc. Can anyone point me to an
      example (or bridge documentation) showing how to program an ActionScript call to a JavaScript
      function through the bridge?

      Thanks, Garry