Ok, so you want to know how to mess with HSV (or HSB or HSL) colors, how to do sliders, and/or organize things into classes in ActionScript. Perhaps you just need a cool little color picker.
You’re welcome to download the source code for the sample Flash below and use it for whatever you like. It’s ready to compile using FlashDevelop.
Below is the sample Flash. The class ColorPicker displays the three bars with the triangle sliders. The dot is drawn in main.as in response to events from the ColorPicker.
Oh!! I found the HSV/RGB conversion functions here: CRON’S WEB TECH BLOG
Leave a Reply