?? colorutils.as
字號(hào):
package sjd.utils
{
public class ColorUtils{
public static function convertColor(color:String):Number{
if(color.length > 1 && color.substring(0,1) == "#"){
return Number("0x" + color.substring(1));
}else{
return Number(color);
}
}
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -