?? coloredskinelement.as
字號(hào):
class mx.skins.ColoredSkinElement
{
var _color, getStyle, onEnterFrame;
function ColoredSkinElement()
{
} // End of the function
function setColor(c)
{
if (c != undefined)
{
var _loc2 = new Color(this);
_loc2.setRGB(c);
} // end if
} // End of the function
function draw(Void)
{
this.setColor(this.getStyle(_color));
onEnterFrame = undefined;
} // End of the function
function invalidateStyle(Void)
{
onEnterFrame = draw;
} // End of the function
static function setColorStyle(p, colorStyle)
{
if (p._color == undefined)
{
p._color = colorStyle;
} // end if
p.setColor = mx.skins.ColoredSkinElement.mixins.setColor;
p.invalidateStyle = mx.skins.ColoredSkinElement.mixins.invalidateStyle;
p.draw = mx.skins.ColoredSkinElement.mixins.draw;
p.setColor(p.getStyle(colorStyle));
} // End of the function
static var mixins = new mx.skins.ColoredSkinElement();
} // End of Class
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -