摘要: public static function webColor2Uint(color:String):uint{ var uintColor:uint; if (color.indexOf("#") != -1) { var r:RegExp=new RegExp(/#/g); uintColor = uint(String(color).replace(r, "0x")); } else if (color.indexOf("0x") != -1) { uintColor = uint(color)... 阅读全文
posted @ 2013-01-07 11:56 黄龙 阅读(345) 评论(0) 推荐(0) 编辑