From: "Brian Farmer" <[EMAIL PROTECTED]>
Sent: Friday, December 15, 2000 4:24 AM
> I am trying to change the color of my background. Can I use hex color
values? It looks like I cannot put a hex value in my code. Is it possible to
convert hex color code into a format that Director will understand?
Hi Brian,
Use the sprite or system property bgColor.
In the Message window.
-- Welcome to Director --
set myBgColor = color(#rgb, 6, 102, 204)
set the bgColor of the stage = myBgColor
-- or
set (the stage).bgColor = myBgColor
-- To convert your RGB color values to hex
put hexString(myBgColor)
-- "#0666CC"
-- or
put myBgColor.hexString()
-- "#0666CC"
Hope this helps.
John Erazo
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]