Not finding what you are looking for? Request a recipe!
I’ve created two state componenst. To avoid a “multiple sets of visual children” error I’ve defined [DefaultProperty] metadata tag and used it to save visual children in private array.
I’ve created function that returns blended color shades between the 2 colors. This function could be used to set for example itemRenderer background for List or ComboBox components.
1. Create FXG file with Illustrator or Fireworks. 2. Save it to your project src/ folder. 3. You can use it like your own classes instantiated from Graphics
CIE 1976 This is the standard CIE color difference method, which is simply the distance between the two colors, calculated in three-dimensional Lab color space.
1. Embed swf using mimeType="application/octet-stream" 2. Use Loader component to add embedded asset to display list.
There also functions to convert RGB to XYZ color space.