大约有 131 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0044 秒)
Laya_社区(95) Laya2.0_示例(9) Laya2.0_文档(9) Laya_示例(6) Laya2.0_api(4) laya_api(4) Laya3.0_文档(3) Laya3.0_api(1)
...drawCircle(0,0,20,"#990000"); Laya.stage.addChild(sp); Laya.stage.on(Event.MOUSE_MOVE,this,function() { sp.pos(Laya.stage.mouseX,Laya.stage.mouseY); }); ``` ![图片1.png](https://official.layabox.com/laya_data/Chinese/LayaAir_AS3/2D/advanced/PerformanceOptimization/CPU/img/1.png) (图1) 此时F...
来源: Laya2.0_文档 发布时间: 20210715
...t.MOUSE_OUT, this, this._onMouseOut); this.on(Laya.Event.MOUSE_MOVE, this, this._onMouseMove); 增加如下3个方法 _onMouseOver() { var tX = this.mouseX; var tY = this.mouseY; var i, len; ...
来源: Laya_社区 发布时间: 20200724
...s.MapY - (Laya.stage.mouseY - this.mLastMouseY); Laya.stage.off(Laya.Event.MOUSE_MOVE, this, mouseMove); } function mouseDown(){ this.mLastMouseX = Laya.stage.mouseX; this.mLastMouseY = Laya.stage.mouseY; Laya.stage.on(Laya.Event.MOUSE_MOVE,this,mouseMove); } /** * 改变视口大小 * 重设地图...
来源: Laya2.0_文档 发布时间: 20210715
...ircle(0,0,20,"#990000"); Laya.stage.addChild(sp); Laya.stage.on(Laya.Event.MOUSE_MOVE,this,function() { sp.pos(Laya.stage.mouseX,Laya.stage.mouseY); }); ``` ![图片1.png](https://official.layabox.com/laya_data/Chinese/LayaAir_AS3/2D/advanced/PerformanceOptimization/CPU/img/1.png) (图1) 此时F...
来源: Laya2.0_文档 发布时间: 20210714
...s.MapY - (Laya.stage.mouseY - this.mLastMouseY); Laya.stage.off(Laya.Event.MOUSE_MOVE, this, this.mouseMove); } private mouseDown():void { this.mLastMouseX = Laya.stage.mouseX; this.mLastMouseY = Laya.stage.mouseY; Laya.stage.on(Laya.Event.MOUSE_MOVE, this, this.mouseMove); } /** * 改变视口大...
来源: Laya2.0_文档 发布时间: 20210715
...eX); MapY = MapY - (Laya.stage.mouseY - mLastMouseY); Laya.stage.off(Event.MOUSE_MOVE, this, this.mouseMove); } private function mouseDown():void { mLastMouseX = Laya.stage.mouseX; mLastMouseY = Laya.stage.mouseY; Laya.stage.on(Event.MOUSE_MOVE, this, this.mouseMove); } /** * 改变视口大小 * ...
来源: Laya2.0_文档 发布时间: 20210714
...usedown[static] 定义 mousedown 事件对象的 type 属性值。Event MOUSE_MOVE : String = mousemove[static] 定义 mousemove 事件对象的 type 属性值。Event MOUSE_OUT : String = mouseout[static] 定义 mouseout 事件对象的 type 属性值。Event MOUSE_OVER : String = mouseove...
来源: Laya2.0_api 发布时间: 20190513
...tage.mouseY)); //鼠标按下的时候进行移动侦听 e.target.on(Event.MOUSE_MOVE, this, this.onItemBoxMouseMove, [e.target, index]); } } if (e.type == Event.MOUSE_UP) { this.mouseDown = false; this.itemOnMouseUp(); } //点击标记文本 if (e.target.name == "flag" && e.type == Event.CLICK) thi...
来源: Laya2.0_示例 发布时间: 20241119
...usedown[static] 定义 mousedown 事件对象的 type 属性值。Event MOUSE_MOVE : String = mousemove[static] 定义 mousemove 事件对象的 type 属性值。Event MOUSE_OUT : String = mouseout[static] 定义 mouseout 事件对象的 type 属性值。Event MOUSE_OVER : String = mouseove...
来源: laya_api 发布时间: 20170929
...定义 mousemove 事件对象的 type 属性值。*/ static MOUSE_MOVE: string; /** 定义 mouseover 事件对象的 type 属性值。*/ static MOUSE_OVER: string; /** 定义 mouseout 事件对象的 type 属性值。*/ stati...
来源: Laya_社区 发布时间: 20170601