摘要: 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 阅读全文
posted @ 2011-07-20 17:35 小松鼠喝多了 阅读(142) 评论(0) 推荐(0) 编辑