Why is the bgcolor param required? I'm using swftools for a flash game portal, and by setting a particular color for all, some games break. It is possible to set them individually, but this site is almost all self-sustained. I upload the flash file with cck, then use the template to automatically swf('$filepath').

I've temporarily "fixed" this by commenting all lines with bgcolor in swftools.module. I know this is bad, but it was the only way that I could get all of the games to work.

Maybe this was fixed in a newer version? I only just realized I was using v1.3.

Comments

ntg’s picture

I have the same problem.
Did you find any solution to that besides altering the code of the module?

davidneedham’s picture

I think you emailed me, but nope, I had to change the module. There must be a better solution to this.

Stuart Greenfield’s picture

Status: Active » Needs review

Fixed on branch DRUPAL-6--3. The setting is now optional, and if left blank then the embedding methods won't output a bgcolor parameter.

This should also fix #338542: The "Background color" setting