View Single Post
  #1 (permalink)  
Old 05-15-2004, 10:03 PM
adan adan is offline
Member
 
Join Date: Jan 2003
Posts: 56
Default SWFGen OnSubText Hex Color Value Bug

Hello SWFGen,
I have been messing with your SWFGen sample file from the download.html page, and have confirmed now that there is a bug in SWFGen with substituting the hex color value of text.

The bug is causing the hex color value to be inverted. E.g. the hex color blue (0000FF) is substituted to be red, which is the switched around hex color (FF0000), the same with yellow (FFFF00) and cyan (00FFFF). In the SWFGen sample I changed the:

object.color = 0x0000FF;

To:
object.color = 0xFF0000;

And the substituted color came out to be blue, but that is the red hex value. When changing the object.color to the yellow hex, the substituted color was cyan, the exact switched around value of yellow.

As you can see this can be a critical bug because it inverts the hex color values. Please fix this switching around error ASAP please. It could simply be a small bit of coding in the SWFGen.dll file that is causing this switching. And if you can, please send me the updated SWFGen.dll file. Thanks!

Also, by the way, have you tried substituting two different images in two movie clips? It won't work with what I've been doing. It will sub the last one and then act like it's frozen and replace the same image with the other movie clip, so instead of having two different movie clips and two different images the outcome is two different movie clips with the same last substituted image. This is also a strange error or bug, as I would like to use images in movie clips but it doesn't seem to allow what I want SWFGen to do.
Reply With Quote