?? formlistbutton.as
字號:
?//*****************************FormListButton**************************
import pssclasses.form.*;
class FormListButton extends MovieClip {
//*************define attributes*********
private var __this:MovieClip;
private var press_mc:MovieClip;
private var ComponentHolder:MovieClip;
private var ComponentLabel:MovieClip;
//**************define metods**********
private function FormListButton() {
__this = this;
__this.useHandCursor = false;
pasiv();
}
//***activ*******
public function activ():Void {
press_mc._visible = true;
}
public function pasiv():Void {
press_mc._visible = false;
}
//*********************set component data**************
public function setComponentHolder(comp:MovieClip):Void {
ComponentHolder = comp;
}
public function setComponentLabel(compLabel:MovieClip):Void {
ComponentLabel = compLabel;
}
//**********events*********
/*
private function onPress():Void {
activ();
}
private function onRelease():Void {
pasiv();
}
private function onReleaseOutside():Void {
pasiv();
}*/
// ***********end class****************
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -