摘要:
Handler是啥就是响应事件的方法函数,movie,sprite,cast member和frame都可以有自己的handler。除此外,Director有4个primary event handler: keyDownScript mouseDownScript mouseUpScript timeoutScriptHandler的响应顺序primary event handler -> sprite behavior -> cast member script -> frame script - > movie scriptprimary handler, 阅读全文
posted @ 2011-10-27 13:01 mumuliang 阅读(209) 评论(0) 推荐(0) 编辑