摘要: 给自定义组件编写事件,可以分为3部分:1、自定义事件,events.LightEvent.as 1packageevents2{3importflash.events.Event;45publicclassLightEventextendsEvent6{7publicstaticconstLightClick:String="LightClick";89publicfunctionLightEvent(type:String,bubbles:Boolean=false,cancelable:Boolean=false)10{11super(type,bubbles,canc 阅读全文
posted @ 2012-04-08 21:49 静候良机 阅读(1503) 评论(1) 推荐(0) 编辑