3 Replies Latest reply on Sep 29, 2006 12:20 AM by thiru-mtv

    Flex Object cannot be found in Javascript (FABridge)

    Jaxyeh
      I am having problem trying to call functions from javascript to a specific Class Oject in Flex application. I am only able to call function only from in the main.mxml. You can see where the error I am still getting in the test.js as an example below...

      test.js (look below):
      var flexApp = FABridge.viable.root();
      flexApp.helloMain(); // Succeed
      flexApp.eb().getHello(); // Doesn't work

      Please advise, on the appropiate method of calling function through the Flex's object class from FABridge. Also, an code example would be greatly appreicated.

      Thanks,
      Jason Yeh