1
我有一個通過爲創建一個自定義組件:Flash Builder的兒童彈出調用父函數
public function myFunc():void {
//some code
}
public function createComp():void {
var myVar:customComp = new customComp();
myVar.button01.label = "Some label";
PopUpManager.addPopUp(myVar, this, true);
}
當按鈕被按下(button01)該組成部分,我希望它呼籲在myFunc的功能父組件。請記住,所有這一切都在。我在哪裏添加事件偵聽器?