1
2
3
4
public static function getColorFromString(color:String):int
{
    return parseInt(new RegExp(/[0-9a-fA-F]+/).exec(color),16);
...

ActionScript Get color from string

by shaman4d.blogspot.com, July 11, 2008 10:54, 6 refactorings, tagged with speed, convert, as3

Script was written on AS3. ...

9a74ef7809e84411f21dd71771cf0534 Talk