FLEX 事件注册---EVENT 继承
继承类:
internal function zc(evt:MouseEvent):void{Alert.show("注册的事件"+evt.currentTarget);//1 txt2.dispatchEvent(new Event("zc",true,false));txt2.dispatchEvent(new eventzhuce(eventzhuce.TEST1,"测试"));}internal function zc1(evt:eventzhuce):void{ txt2.text="触发的控件"+evt.currentTarget+"\n事件是:"+evt.type+"\n传递的数据:"+evt.testdata;}
?