Web 2.0 Icon Class
Description
Web20Icon.as is a class that helps you add icons to your project as easy as you would add Sprites or any display object.
Features
-set first color (upper left corner)
-set second color (bottom right color)
-set text color (color of text)
-set text
-set shadow (true/false)
-set /change size
Usage
var icon1:Web20Icon = new Web20Icon(new Arial());
icon1.iconSize = 150;
icon1.iconFirstColor = 0×339900;
icon1.iconSecondColor = 0×000000;
icon1.iconShadow = true;
icon1.textFeed = “Tx”;
icon1.textIconColor = 0xFFFFFF;
or
var icon1:Web20Icon = new Web20Icon(new Arial(), “Im”, 80, 0xEA1515, 0×750B0B, true);
Help File
There is a “txt” file with instructions and the code is commented.




Request processing...
19comments