At 2:57 PM -0400 5/31/01, Bastien Bouchard wrote:
>Simple question: how to find the exact decimal color value (used in
>forecolor property) matching a RGB or Hexadecimal color value?
If you are trying to convert a palette index reference provided by the
foreColor property into its RGB equivalent, you can use the following code:
myColor = color(#paletteIndex, (sprite 1).foreColor)
myColor.colorType = #rgb
put myColor
put myColor.hexString()
Enjoy.
--
...---===| Terry R. Schussler |===---...
...---===| Chief Investigator |===---...
on visitWebsite yourSelection
coolSites = [ \
#advancedSeminars : "http://www.macromediaSEMINARS.com/", \
#directorUniversity: "http://www.directorU.com", \
#multiuserUniversity: "http://www.multiuserU.com", \
#flashUniversity: "http://www.flash5U.com", \
#freeBehaviors : "http://www.behaviors.com/"]
gotoNetPage coolSites[yourSelection]
end visitWebsite
[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!]