8/21/2008

gwt-fabridge 1.2 released

gwt-fabridge 1.2 updates the underyling version of gwt2swf to the current version 0.6 (upgrade to swfobject 2).

These changes will not affect your code except for the instantiation of SWFABridgeWidget. Thanks to changes in gwt2swf it's easier now. One way to do it is this:

//SWFABridgeWidget(String swfName, int width, int height, String bridgeName)
SWFABridgeWidget swfWidget = new SWFABridgeWidget("app.swf",400,400,"example");

Everything else stays the same.

Again, there are some problems with the fabridge.js. This time it's not the combination with gwt, but with swfobject that is causing problems. Gladly, the swfobject developers have found a way to get things working, but they had to modify the javascript file (read more about it here).

To fix a problem between fabridge and gwt I already had modified the file myself for gwt-fabridge. So I could not use the new version. Instead I have integrated the new changes into my modified version that is compatible with gwt (inline frame problem). Please do not use any other version of fabridge.js!

Let's hope that Adobe will someday integrate all these changes into the official version.

You can download gwt-fabridge here