Skip to Navigation | Skip to Content



Archive for the 'bug' Category

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:

FlashTag.prototype.addFlashVars = function(fvs) {
  this.flashVarsStr = fvs;
}

to this:

FlashTag.prototype.addFlashVars = function(fvs) {
  this.flashVarsStr = fvs;
  if (this.flashVars == null)
    this.flashVars = new Object();
}

Other than that it seems to work pretty nicely.

Posted in AJAX, Flash, Uncategorized, bug | 1 Comment » | Add to Delicious | Digg It


Search Posts

You are currently browsing the archives for the bug category.

Archives

Categories