Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我为 createjs 尝试了一个简单的示例,但是 onMouseUp 事件没有被触发,这是什么原因?
这是我试过的例子
我不是 100% 确定,但我不知道该语法是否有效:
_stage.onMouseUp = stageClickHandler;
我总是喜欢在 Haxe 中添加一个事件监听器:
_stage.addEventListener(MouseEvent.MOUSE_UP, stageMouseUpHandler);