PureMVC and FABridge, reacting to Notifications with JavaScript
===

In short the question is: is it possible to get PureMVC Notifications to JavaScript through FABridge without editing the original Flex app?

There's a P2P video chat application called Sifonr, that is apparently made with PureMVC + Fabrication(?) and it uses [FABridge][2] as an "[API][3]". I would like to tap into the API with JavaScript, for example call a JavaScript function when a message is received, but I have very little to no experience in AS and even less with PureMVC.

As far as I know, JavaScript can only pass Objects and Function callbacks through the FABridge. Is there any other way to react on PureMVC Notifications other than creating a new class within the flash environment? Can I pass a callback function to some handler in there? Should I just create a new SWF that extends the original one?


  [2]: http://livedocs.adobe.com/flex/3/html/ajaxbridge_1.html
  [3]: http://www.sifonr.com/asdoc/index.html