Never mind, figured it out. In case anyone else needs it, the "colors"
property gives you access to the color array, so you can do eg:

colorpicker.colors.push(0x111111);

to add 0x111111 to the swatch.

.m


On Tue, Sep 7, 2010 at 10:19 AM, Matt S. <mattsp...@gmail.com> wrote:
> I need a basic color picker, and the CS5 colorpicker component does
> the trick nicely. The only problem: No grayscale. Is there really no
> way to add just the basic grayscales (333333,666666,999999 etc) that
> you usually find on a colorpicker? I'd rather not bother with a custom
> colorpicker since this one is doing the trick, but I guess I might
> have to. Anyone know a way to add grayscale?
>
> thanks,
>
> Matt
>
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to