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.
In Part 0, I discussed the gpUrlLoader class – This class will load image, swf, text, xml, html, stylesheet, json, and sound files.
In Part 2 of the gpAS3Libary, I will discuss the gpShapes class. This class is the basis for much of the UI that I create in my Flash applications.