开发者

ActionScript 2: Is it possible to test is the mouse is pressed without setting up an event?

开发者 https://www.devze.com 2022-12-08 07:45 出处:网络
Is it possible to read the mouse 开发者_StackOverflow中文版key, like you do with Key.isDown(), ie. without setting up an unPress event/callback?Yes. This is the code in as2:

Is it possible to read the mouse 开发者_StackOverflow中文版key, like you do with Key.isDown(), ie. without setting up an unPress event/callback?


Yes. This is the code in as2:

this.onMouseDown = function() {

trace("mouseDown");

}

0

精彩评论

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