FlashBridge: proxying Flash <-> OpenLaszlo
Sunday, April 13th, 2008I’ve updated my OpenLaszlo utility grab-bag to make browser <-> applet communication even easier. How easy?
Proxies
Put this in your browser JavaScript:
[code language=”javascript”]
var gObject = {
};
[/code]
And this in an OpenLaszlo applet:
[code language=”javascript”]
var gObject = FlashBridge.createRemoteProxy(‘gObject’, [‘f’, ‘g’]);
gObject.f(1, 2);
gObject.g(3);
[/code]
When you run the applet code, it prints this to the browser console:
Read the rest of this entry »
