Not finding what you are looking for? Request a recipe!
This post will show how to create a component in Actionscript, and define and dispatch custom events from it.
Here is a simple class containing static functions that you can use to convert named html colors to the numeric values. This can be used to render styles, or draw with the drawing API based on html named colors.
Below, I have provided a generic function that returns the BitmapData from any UIComponent regardless of whether or not it is visible on the screen.