dispatchEvent是处理消息的总入口,其下可根据不同的消息类型调用不同的方法dispatchXXXEvent();消息处理有2种方法:
1:addXXXListener();
2: enableXXXEvent(parameter);然后重写相应的dispatchXXXEvent();