While I'm not sure if this is what you're asking, paste this into a movie script and call it from the message window:

on mShowColors
  repeat with i = 0 to 255
    aColor           = color(#paletteIndex, i)
    hex              = aColor.hexString()
    aColor.colorType = #rgb
    put i, hex, aColor.red, aColor.green, aColor.blue
  end repeat
end

HTH?,


I'm sure you're on the right lines for what was being asked, but which palette does the routine refer to?

[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