Has anyone here successfully implemented a JavaScript function using the JavaScriptFlashGateway library, which can dynamically call an ActionScript function (i.e. from an OnClick in an href).
Here are some links I’ve been using for reference, if you’ve never heard of this library (it was developed by Macromedia and made open source):
http://osflash.org/flashjs
http://osflash.org/doku.php?id=flashjs
Basically, I can get flash to recognize the lcId, as well as Javascript, and both the FlashProxy and JavaScript proxy are initialized fine. No errors come up anywhere. But for the life of me, I can’t get ANYTHING to happen when attempting to use the call() function from JS to call an ActionScript function. The other direction, calling JS from ActionScript, works great-- but that’s easy and nothing new.
If anyone has other examples of calling ActionScript functions from JavaScript, or any tips and trick that I’ve missed, I’ll be eternally grateful. Been working on this WAY too long and am simply at a dead-end at this point. Thanks guys.