I believe that the best way to approach this would be to create a group
containing 256 graphic objects, each representing a seperate 'segment' of
the color wheel. A mouseUp handler in the group script could handle color
selection by getting the fillColor (think that's the right property) of the
target.
I foresee a few problems though. Would you only display the colors
currently allocated by MetaCard, and leave the remainder of the wheel
blank? Or would you allocate colors for the remainder of the pallette? If
so, how would you know which colors to use?
I believe that creating the curved sections of the graphics objects within
MetaCard would be fairly difficult. I could be wrong on this point though,
since I haven't worked with the graphics objects much. It sure would be
nice if structured graphics could be imported from other applications.
Another approach might be to fill in an outline of the color wheel on the
fly, and to use the dropper tool to select a color. However, using this
method you would have to choose the fill tool, and then:
loop
set the paint color
move the cursor to a new color cell
click the mouse
end loop
Not nearly as elegant as using graphics objects.
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/ Boyd Sweeney Scientist, Nichols Research Corporation _/
_/ sweeneyb@puzzler.nichols.com (205) 883-1170x1775 _/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/