JavaScript Flash Integration Kit 
April 20th, 2007
For those of you out there that are thinking of using the JavaScript Flash Integration Kit for building an application watch out for this little bug.
In the FlashTag.addFlashVars(string) function it just sets the internal variable this.flashVarsStr. However, in the FlashTag.toString() method it checks if the this.flashVars variable is null or not to determine if it should write the flash variables into the Flash HTML tag. To fix it, I just changed it from this:
this.flashVarsStr = fvs;
}
to this:
this.flashVarsStr = fvs;
if (this.flashVars == null)
this.flashVars = new Object();
}
Other than that it seems to work pretty nicely.
Del.icio.us
This entry was posted on Friday, April 20th, 2007 at 8:44 pm and is filed under Uncategorized, AJAX, Flash, bug. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

April 23rd, 2007 at 6:15 pm
Is this this project you’re talking about: http://osflash.org/projects/flashjs