A Flash Developer Resource Site

+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 20 of 24
  1. #1
    Member
    Join Date
    Jan 2004
    Location
    NYC
    Posts
    41

    background color problem

    i am having a problem with a background color that i want to use.
    the color is: #595959

    i am using this as the bg color for both the swf file as well as the html that it is located in.

    it looks fine on my mac... but when my friend looks at it on his pc, the bgcolors are slightly off.

    maybe its a browser issue? i know he was using IE to look at it.

    if anyone has heard of this problem or has any fixes i would love to know!

    thanks!

  2. #2
    Flasher
    Join Date
    Jun 2005
    Posts
    1,365
    It could either be his screen, or, if all you did was change the BG color in the properties panel, I reccomend making a new layer called "BG" or "Background", creating a square or something the size of your stage, and then publish and test it.

  3. #3
    FK's Geezer Mod Ask The Geezer's Avatar
    Join Date
    Jul 2002
    Location
    Out In The Pasture
    Posts
    20,490
    It's not a browser issue, it's a Mac vs PC color scheme setting issue. They are notoriously not the same. The only way to get them as close as possible is to use Web Safe color numbers.

  4. #4
    Flasher
    Join Date
    Jun 2005
    Posts
    1,365
    What he said...


    Yes, Macs have a much wider color range, but they still continue to suck...

    ~Sportzguy933

  5. #5
    FK's Geezer Mod Ask The Geezer's Avatar
    Join Date
    Jul 2002
    Location
    Out In The Pasture
    Posts
    20,490
    Another thing to look for is fade settings. A transparency setting of 65% will look like 65% on a PC, but will appear like about 95% on a Mac. Never found a fix for that.

  6. #6
    Freelance Web Designer ehabaref's Avatar
    Join Date
    Nov 2005
    Location
    New York City
    Posts
    212
    i had similar problem before and it was because at home i don't have flat monitor and at work it is flat. the monitor is a problem sometimes.

  7. #7
    Member
    Join Date
    Jan 2004
    Location
    NYC
    Posts
    41
    hmmmm
    it seems i may just have to change the color,
    that sucks

  8. #8
    FK's Geezer Mod Ask The Geezer's Avatar
    Join Date
    Jul 2002
    Location
    Out In The Pasture
    Posts
    20,490
    Why, who's going to see it on a Mac and a PC at the same time to compare it? In my experience, people will never notice.

  9. #9
    Member
    Join Date
    Jan 2004
    Location
    NYC
    Posts
    41
    the problem was not that the color was a little off

    the problem is that the bg color of the swf and the bg color of the html are slightly different from each other.

    i think my solution will be to tile the background with tiny jpg's of the color.
    the BG jpg will be produced in flash, so it should match the swf's BG color, no matter what computer it is viewed on.

    i did this in this link:

    http://www.jbsdesign.com/index1.html

    this site is a work in progress, so you won't really be able to look around in the site to much.

  10. #10
    FK's Geezer Mod Ask The Geezer's Avatar
    Join Date
    Jul 2002
    Location
    Out In The Pasture
    Posts
    20,490
    I see two different colors of grey there. I got a PC with dual 17" Viewsonic LCD's.

    I think you really need to use websafe colors to make that work.

  11. #11
    Member
    Join Date
    Jan 2004
    Location
    NYC
    Posts
    41
    damn

  12. #12
    Member
    Join Date
    Jan 2004
    Location
    NYC
    Posts
    41
    why do you think my jpg solution didn't work?

  13. #13
    FK's Geezer Mod Ask The Geezer's Avatar
    Join Date
    Jul 2002
    Location
    Out In The Pasture
    Posts
    20,490
    Here's another option. Publish your movie from the html tab in publish settings. Set the Dimesions dropdown to Percent, 100%. then down lower, set the Scale dropdown to No Scale and publish the html. Now, open the html to edit the source, and add this at the bottom of the head tag;

    <style type="text/css">
    html, body {
    margin: 0;
    padding: 0;
    }
    </style>
    </HEAD>

    Your movie will show at the size you made it in the center of the screen and the edges of the background color you set in flash will go all the way to the edge of the browser. You won't need a bg image tile or color at all.

  14. #14
    Member
    Join Date
    Jan 2004
    Location
    NYC
    Posts
    41
    ok, i'll give that a try

  15. #15
    FK's Geezer Mod Ask The Geezer's Avatar
    Join Date
    Jul 2002
    Location
    Out In The Pasture
    Posts
    20,490
    Now you got me thinking, check out mine on a Mac. I bet it's doing the same thing, cause I don't use a websafe color.

    http://www.flashbax.com/slide_show.htm

  16. #16
    Member
    Join Date
    Jan 2004
    Location
    NYC
    Posts
    41
    looks ok on my mac
    i like your buttons!

  17. #17
    Member
    Join Date
    Jan 2004
    Location
    NYC
    Posts
    41
    ok
    i tried that out... can you check it out here:

    http://www.jbsdesign.com/ui_main.html

  18. #18
    FK's Geezer Mod Ask The Geezer's Avatar
    Join Date
    Jul 2002
    Location
    Out In The Pasture
    Posts
    20,490
    Yup, that got it.

  19. #19
    Member
    Join Date
    Jan 2004
    Location
    NYC
    Posts
    41
    SWEET!
    thank you so much!

  20. #20
    FK's Geezer Mod Ask The Geezer's Avatar
    Join Date
    Jul 2002
    Location
    Out In The Pasture
    Posts
    20,490
    You got one more thing to do. Remove the scrollbar on the right by changing your top body tag to this;

    <BODY bgcolor="#595959" scroll= "no">

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