摘要: 创建自定义事件包括创建事件对象和派发事件两个部分:派发事件,使用EventDispatche 的dispatchEvent 方法:dispatchEvent(event:Event);其中event参数就是创建的事件对象。一、在需要派发的组件设置事件:(就是当前的发生事件的是组件:假设名称为MyComponent)定义一个事件      1、定义事件类型常量名public const CLICK_... 阅读全文
posted @ 2010-05-11 17:07 gaofei_work 阅读(253) 评论(0) 推荐(1) 编辑
摘要: http://www.javaeye.com/topic/215591 阅读全文
posted @ 2010-05-11 16:10 gaofei_work 阅读(89) 评论(0) 推荐(0) 编辑
摘要: http://orzxx.blog.sohu.com/105735768.html 阅读全文
posted @ 2010-05-11 10:30 gaofei_work 阅读(446) 评论(0) 推荐(0) 编辑
摘要: http://hi.baidu.com/hzd2712/blog/item/00f0998171981ad1bc3e1e88.html 阅读全文
posted @ 2010-05-11 10:00 gaofei_work 阅读(1087) 评论(0) 推荐(0) 编辑
摘要: 这个解决的方法就是对比你工程的Properties和Flex Sample View的,在Flex Build Path 的 Source path里添加文件夹和Sample一样 阅读全文
posted @ 2010-05-11 09:59 gaofei_work 阅读(429) 评论(0) 推荐(0) 编辑