大约有 71 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0032 秒)
... /** * 对象的 <code>Event.MOUSE_OVER、Event.MOUSE_OUT、Event.MOUSE_DOWN、Event.MOUSE_UP、Event.CLICK</code> 事件侦听处理函数。 * @param e Event 对象。 */ protected function onMouse(e:Event):void { ...
来源: Laya_社区 发布时间: 20170926
...Event.MOUSE_UP, this, onMouseUp); Laya.stage.on(Event.MOUSE_OUT, this, onMouseUp); } private function onMouseDown(e:Event):void { spe.startDrag(new Rectangle(0,0,800,800)); } 鼠标点击Sprite报错: Uncaught TypeError: Cannot read property 'startDrag'...
来源: Laya_社区 发布时间: 20170407
...on(Laya.Event.MOUSE_UP, this, this.onMouseEvent); Laya.stage.on(Laya.Event.MOUSE_OUT, this, this.onMouseEvent); Laya.stage.on(Laya.Event.MOUSE_MOVE, this, this.onMouseEvent); //鼠标yi'dong private onMouseEvent(e: Laya.Event): void { switch (e.type) { case Laya.Event.MOUSE_MOVE: ...
来源: Laya_社区 发布时间: 20230619
..., this.ChangeLabelColor); this.label.on(Laya.Event.MOUSE_OUT, this, this.ChangeLabelColor); } 附件 : --> Test1.zip 2019-05-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回...
来源: Laya_社区 发布时间: 20190514
...IGHT_MOUSE_DOWN, Event.RIGHT_MOUSE_UP, Event.MOUSE_OVER, Event.MOUSE_OUT, Event.MOUSE_WHEEL ]); static isMouseEvent(type) { return MOUSE_EVENTS.has(type); }脚本周期函数onMouseDrag, onMouseDragEnd在不注册鼠标事件的情况下无...
来源: Laya_社区 发布时间: 20231106
...t:Sprite):void { target.on(Event.MOUSE_OVER,this,onMouse); target.on(Event.MOUSE_OUT,this,onMouse); } private function onMouse(e:Event):void { //存储over状态的显示对象的name if(e.type==Event.MOUSE_OVER) { arr.push(e.target.name); } //遍历arr处于over状态的显示对象,如果该显...
来源: Laya_社区 发布时间: 20170502
...tenum是1的按钮, /** * 对象的 <code>Event.MOUSE_OVER、Event.MOUSE_OUT、Event.MOUSE_DOWN、Event.MOUSE_UP、Event.CLICK</code> 事件侦听处理函数。 * @param e Event 对象。 */ protected function onMouse(e:Event):void { if (toggle === false && _selected) return; ...
来源: Laya_社区 发布时间: 20160802
...ar.value; } else if (e.type == Laya.Event.MOUSE_UP || e.type == Laya.Event.MOUSE_OUT) { if (this.m_downValue > -1) { if (this.list_rule.scrollBar.value < this.m_downValue) { this.list_rule.scrollBar.stopScroll(); this.list_rule.tweenTo(index - 1,100); } else if (this.list_rule.scrollBar.value ...
来源: Laya_社区 发布时间: 20171202
...ar.value; } else if (e.type == Laya.Event.MOUSE_UP || e.type == Laya.Event.MOUSE_OUT) { if (this.m_downValue > -1) { if (this.list_rule.scrollBar.value < this.m_downValue) { this.list_rule.scrollBar.stopScroll(); this.list_rule.tweenTo(index - 1,100); } else if (this.list_rule.scrollBar.value ...
来源: Laya_社区 发布时间: 20181112
...ar.value; } else if (e.type == Laya.Event.MOUSE_UP || e.type == Laya.Event.MOUSE_OUT) { if (this.m_downValue > -1) { if (this.list_rule.scrollBar.value < this.m_downValue) { this.list_rule.scrollBar.stopScroll(); this.list_rule.tweenTo(index - 1,100); } else if (this.list_rule.scrollBar.value ...
来源: Laya_社区 发布时间: 20180724