大约有 12 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0031 秒)
...eY; 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.off(Event.MOUSE_UP, this, finishScrollText); } /* ...
来源: Laya2.0_文档 发布时间: 20210715
...aya.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); Laya.stage.off(Event.MOUSE_UP, this, this.finishScrollText...
来源: Laya2.0_文档 发布时间: 20210715
...eY; 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, this, finishScrollText); } /* 鼠标滚动文本 ...
来源: Laya2.0_文档 发布时间: 20210714
... //添加鼠标抬起事件侦听。抬起时还原按钮。 this.on(Event.MOUSE_UP,this, scaleBig); //添加鼠标离开事件侦听。离开时还原按钮。 this.on(Event.MOUSE_OUT,this, scaleBig); } private function scaleBig():void { //变大还原的缓动效果 Tween.to(this, {scaleX:1,scaleY...
来源: Laya2.0_文档 发布时间: 20210714
...加鼠标抬起事件侦听。抬起时还原按钮。 this.on(Laya.Event.MOUSE_UP,this, this.scaleBig); //添加鼠标离开事件侦听。离开时还原按钮。 this.on(Laya.Event.MOUSE_OUT,this, this.scaleBig); } scaleBig() { //变大还原的缓动效果 Laya.Tween.to(this,{scaleX:1,scaleY:1},...
来源: Laya2.0_文档 发布时间: 20210715
...路径数据 ```typescript //监听鼠标抬起 Laya.stage.on(Laya.Event.MOUSE_UP, this, function() { this.index = 0; //获取每次生成路径 this.getGridIndex(this.path[this.curPathIndex % this.pointCount].x, this.path[this.curPathIndex++ % this.pointCount].z, this.startPoint); this.getGridIndex...
来源: Laya2.0_文档 发布时间: 20210714
...路径数据 ```typescript //监听鼠标抬起 Laya.stage.on(Laya.Event.MOUSE_UP, this, function() { this.index = 0; //获取每次生成路径 this.getGridIndex(this.path[this.curPathIndex % this.pointCount].x, this.path[this.curPathIndex++ % this.pointCount].z, this.startPoint); this.getGridIndex...
来源: Laya2.0_文档 发布时间: 20210715
...加鼠标抬起事件侦听。抬起时还原按钮。 this.on(Laya.Event.MOUSE_UP,this, this.scaleBig); //添加鼠标离开事件侦听。离开时还原按钮。 this.on(Laya.Event.MOUSE_OUT,this, this.scaleBig); } private scaleBig():void { //变大还原的缓动效果 Laya.Tween.to(this, {scale...
来源: Laya2.0_文档 发布时间: 20210715
...界的路径数据 ```typescript //监听鼠标抬起 Laya.stage.on(Event.MOUSE_UP, this, function():void { index = 0; //获取每次生成路径 getGridIndex(path[curPathIndex % pointCount].x, path[curPathIndex++ % pointCount].z, startPoint); getGridIndex(path[nextPathIndex % pointCount].x,path[nex...
来源: Laya2.0_文档 发布时间: 20210714
...Laya.stage.on(Event.MOUSE_DOWN, this, this.mouseDown); Laya.stage.on(Event.MOUSE_UP, this, this.mouseUp); resize(); } /** * 移动地图视口 */ private function mouseMove():void { var moveX:Number = MapX - (Laya.stage.mouseX - mLastMouseX); var moveY:Number = MapY - (Laya.stage.mouseY - mLastMouse...
来源: Laya2.0_文档 发布时间: 20210714