A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: bg color slightly off

  1. #1
    Junior Member
    Join Date
    May 2000
    Posts
    1
    when i use certain bg colors on swish like the slightly brown one.. it turns blue when you preview it on browser.. but when you preview it on player..it shows as brown.. am i the only one having this problem? =(

  2. #2
    Hello,

    SWiSH 1.0 outputs incorrect HTML when using the "publish" menu option.
    SWiSH always produces correct .swf files, but does have a bug where
    the RGB values in HTML produced by SWiSH are incorrect. This may be
    worked around by editing the HTML by hand, ie use notepad or a HTML
    editor (SWiSH cannot do this)

    Workaround : Find in the HTML source of the file the object tag

    PARAM NAME="BGColor" VALUE="#123456"

    You need to transpose the first 2 digits with the last 2, as SWiSH
    is outputting BGR instead of RGB

    ie : PARAM NAME="BGColor" VALUE="#563412"

    Now find the embed tag. In the midst of this tag there will usually
    be the following

    bgcolor = "#123456"

    If it is there you will need to transpose these digits as well.

    Status : To be fixed in next minor upgrade.

    Thanks,
    Andrew

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center