I’ve been playing with the drawing classes, experimenting gradients and blending modes, and so I put together a small (basic) as3 class that generates a glossy button with pure code – no library assets.
You can download the class here.
The class constructor expects only 3 parameters:
@param rad = Width of button
@param darkColor = The color in top area, more dominant
@param lightColor = The color in the bottom area
* you can then place it anywhere, and use method
setCaption(cap:String) to place a label on the button, though this is a very basic implementation of text handling, I focused on drawing..
Let me know if you liked it : )