摘要:
1.继承AsEventDispatcher类可以发送事件,添加事件侦听package{ import flash.events.Event; import flash.utils.Dictionary; public class AsEventDispatcher { //[事件类型]=事件处理函数 private var receive:Dictionary = new Dictionary(); public function AsEventDispatcher() { } //添加接收者 public function addEventListener(type:String, list 阅读全文