开发者

Troubleshooting Flash Events

I wanted to ask any Flash gurus here if they have开发者_如何学JAVA any best practices for troubleshooting Flash (custom) Events. I'm currently dealing with a couple of events that are supposedly being dispatched but never caught by the corresponding listeners.

Here is the list of things I've already checked for:

  • Event names are defined as a String const in the custom event and the event name is used in the listener.
  • Checked for Event bubbling (as explained here).

If anyone has any suggestion, It will be much appreciated.


I believe most frequent mistakes are: 1. Event listener added after event being already dispatched. 2. Non-overriden clone() and toString() methods for custom event. 3. Simply listening wrong objects/wrong events.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜