gpAS3Library – Part 2a: gpColorSchemes

Actionscript, Flash

When I converted the gpShapes class from AS2 to AS3, I wanted to be able to create shapes with web 2.0 type color schemes, but I did not want to hand code each color scheme in an XML file every time that I wanted to use one. So I created the gpColorSchemes class by duplicating a set of web 2.0 styles that I have in Photoshop. The gpColorSchemes contains 34 preset color schemes that can be used with any Flash/ActionScript application. I named this post Part 2a because I created this class to be used with the gpShapes class (Part 2), but the gpColorSchemes class can be used separately from the gpShapes class.

Continue reading

Checkout My New Site - T-shirts For Geeks