大约有 101 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0035 秒)
Laya_社区(65) Laya2.0_示例(9) Laya2.0_文档(9) Laya_示例(6) Laya2.0_api(4) laya_api(4) Laya3.0_文档(3) Laya3.0_api(1)
....layer.on(Laya.Event.MOUSE_UP, this, this.upFun); this.layer.on(Laya.Event.MOUSE_MOVE, this, this.moveFun); } //弹起事件 ModeKey.prototype.upFun = function () { this.isDown = false; this.isUp = false; this.isMove = false; this.isMode = "stop"; //移除弹起和移动事件 this.layer.off(Laya.Ev...
来源: Laya_社区 发布时间: 20171030
...LABEL LAYERCHANGE LINK LOADED MESSAGE MOUSE_DOWN MOUSE_DRAG MOUSE_DRAG_END MOUSE_MOVE MOUSE_OUT MOUSE_OVER MOUSE_UP MOUSE_WHEEL OPEN PAUSED PLAYED PROGRESS READY REMOVED RENDER RESIZE RIGHT_CLICK RIGHT_MOUSE_DOWN RIGHT_MOUSE_UP ROLL_OUT ROLL_OVER SELECT START STOPPED TRANSFORM_CHANGED TRIGGER_ENTER ...
来源: Laya3.0_api 发布时间: 20231115
...:Event):void { prevX = txt.mouseX; prevY = txt.mouseY; Laya.stage.on(Event.MOUSE_MOVE, this, scrollText); Laya.stage.on(Event.MOUSE_UP, this, finishScrollText); } /* 停止滚动文本 */ private function finishScrollText(e:Event):void { Laya.stage.off(Event.MOUSE_MOVE, this, scrollText); Laya.stage...
来源: Laya2.0_文档 发布时间: 20210715
...MOUSE_UP // 右键抬起 Laya.Event.RIGHT_CLICK // 右键单击 Laya.Event.MOUSE_MOVE // 鼠标移动 Laya.Event.MOUSE_OVER // 鼠标经过目标 Laya.Event.MOUSE_OUT // 鼠标移出目标 Laya.Event.DOUBLE_CLICK // 鼠标左键双击 Laya.Event.MOUSE_WHEEL // 鼠标滚轮滚动 请教下,滚...
来源: Laya_社区 发布时间: 20180411
...,当Event.MOUSE_DOWN事件响应得到一个触摸点后 如何在Event.MOUSE_MOVE和Event.MOUSE_UP事件中区分是先前那个触摸点,这点如果不能区分的话,就分不清楚是摇杆的触摸点还是其他按钮的触摸点 2017-03-07 添加评论 免费帖 --> 分享 微博 QZONE...
来源: Laya_社区 发布时间: 20170307
...prevX = this.txt.mouseX; this.prevY = this.txt.mouseY; Laya.stage.on(Event.MOUSE_MOVE, this, this.scrollText); Laya.stage.on(Event.MOUSE_UP, this, this.finishScrollText); } /* 停止滚动文本 */ private finishScrollText(e: Event): void { Laya.stage.off(Event.MOUSE_MOVE, this, this.scrollText); La...
来源: Laya2.0_文档 发布时间: 20210715
...crollText(e) { prevX = txt.mouseX; prevY = txt.mouseY; Laya.stage.on(Event.MOUSE_MOVE, this, scrollText); Laya.stage.on(Event.MOUSE_UP, this, finishScrollText); } /* 停止滚动文本 */ function finishScrollText(e) { Laya.stage.off(Event.MOUSE_MOVE, this, scrollText); Laya.stage.off(Event.MOUSE_UP...
来源: Laya2.0_文档 发布时间: 20210714
... mLastMouseY = Laya.stage.mouseY; Laya.stage.on(Event.MOUSE_MOVE, this, mouseMove); } function mouseMove() { //移动地图视口 // console.log("X:",mX - (Laya.stage.mouseX - mLastMouseX)) // console.lo...
来源: Laya_社区 发布时间: 20180614
... mLastMouseY = Laya.stage.mouseY; Laya.stage.on(Event.MOUSE_MOVE, this, mouseMove); } function mouseMove() { //移动地图视口 // console.log("X:",mX - (Laya.stage.mouseX - mLastMouseX)) // console.lo...
来源: Laya_社区 发布时间: 20180612
...rTex); addEvent(); } private function addEvent():void { _colorSpr.on(Event.MOUSE_MOVE, this, __moveHandler); } private function __moveHandler():void { var p:Point = toLocal(new Point(Laya.stage.mouseX, Laya.stage.mouseY), _colorSpr); var cir:Sprite = new Sprite(); cir.graphics.drawCircle(0, 0, 15, "...
来源: Laya_社区 发布时间: 20180302