[备忘] 怎么监听某对象的所有事件?

其实很简单, 看代码:

override public function dispatchEvent(event:Event):Boolean  {
    trace("New event dispatched...");
    trace("Event: " + event.type);
    return super.dispatchEvent(event);
}
smithfox | Saturday 05 March 2011 at 3:38 pm | | UI        | Used tags: , , , ,

One comment

Chanel Lego Clutch iPhone 6 Cases

The two handsets caused a bit of a stir following their launch, as they were first HTC models equipped with a QHD (2560×1440) display, besting the One M9 flagship’s more standard 1080p resolution.

Chanel Lego Clutch iPhone 6 Cases, (URL) - 18-06-’15 16:29
(optional field)
(optional field)
为阻止垃圾广告, 请在提交评论前, 回答一个简单问题(Please answer an simple question)
Remember personal info?
Notify
Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.