There's a way to compare if colors are
greater than or darker than???

Try using color objects and palette index conversions:


oColor = color(#rgb, 255,255,255)
oColor2 = color(#rgb, 0,0,0)
put oColor.paletteIndex > oColor2.paletteIndex
-- 0
put oColor.paletteIndex < oColor2.paletteIndex
-- 1

Curious. How does the color object know what palette to use? The movie's default palette? A coworker asked me the same question, just today.


--
Cole
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/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!]

Reply via email to