• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,240 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0051 秒)

551. 骨骼动画播放完了,回调隐藏,回调在哪里 [ 72%]

...Templet(); mFactory.loadAni("NiuXingTianXia/spine/start2.sk"); mFactory.on(Event.COMPLETE, this, function () { mArmature = mFactory.buildArmature(); mArmature.pos(650, 330); mArmature.play(0, false); this.addChild(mArmature); }); 2017-11-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...

来源: Laya_社区 发布时间: 20171129

552. AnimationBase和MovieClip removeLabel问题反馈 [ 72%]

...问题 关于removechild、destory、clear的问题 ios原生回调问题 event自定义事件的问题 问题状态 最新活动: 2018-11-16 16:08 浏览: 2514 关注: 2 人

来源: Laya_社区 发布时间: 20181105

553. 如何能监听到TouchStart和TouchEnd事件 [ 72%]

...链接 提交 2 个回复 189*****192 赞同来自: Sean8023 Laya.stage.on(Event.MOUSE_UP, this, onApeRelease); Laya.stage.on(Event.MOUSE_DOWN, this, onApeRelease); 通过 Event  类型 监听动作  class Event {         /** 一个空的 Event 对象。用于事件派发中转使用。*/ ...

来源: Laya_社区 发布时间: 20170601

554. 滤镜问题,有复现demo [ 72%]

...(0, 0, btn.width, btn.height, "#ff00ff"); Laya.stage.addChild(btn); btn.on(Event.MOUSE_DOWN, this, function():void { btn.filters = [new GlowFilter("#ff0f0f")]; } ); btn.on(Event.MOUSE_UP, this, function():void { btn.filters = null; } ); 附件 : --> myLaya_demo1.zip 2018-12-21 添加评论 免费帖...

来源: Laya_社区 发布时间: 20181221

555. timer.once(100,this,this.play,[参数名])在play方法中怎么获取参数名得值! [ 72%]

...器地址传过来的GET参数 如何获取一个3D模型的长宽高? Event.MOUSE_WHEEL 如何获取鼠标滚轮是放大开始缩小 tree mouseHandler 怎么获取条目 FD 宏编译时 出现 试图访问该方法时失败 问题状态 最新活动: 2018-03-31 14:37 浏览: 536 关注: 2 人

来源: Laya_社区 发布时间: 20180331

556. startDrag 的 Bug? [ 72%]

startDrag 的 Bug? aaa.on(Event.DRAG_MOVE, this, onDragMove); aaa.startDrag(new Rectangle(0, 0, 100, 100), true, 0, 200);   private function onDragMove(e:Event = null):void { // 正常移动时, bbb 会和 aaa 坐标一至, 释放鼠标后也正常, 但 // BUG 出现在鼠标释放后 当aaa 进...

来源: Laya_社区 发布时间: 20180530

557. HttpRequest在网页上和APP上表现不一致 [ 72%]

... function(){console.log("http timeout test: timeout")};     hr.once(Laya.Event.COMPLETE, this, ()=>{console.log("http timeout test: success");});     hr.once(Laya.Event.ERROR, this, (e: any)=>{console.log("http timeout test: error " + e.toString());});     console.log("http timeout test:...

来源: Laya_社区 发布时间: 20171016

558. 无法清除指定定时器 [ 72%]

...       trace("______________________");         } this.stage.on(Event.MOUSE_UP, this, onB); private function onB():void          {             Laya.timer.clear(this, this.looppp);             SoundManager.playSound("res/sound/onClick.wav");         } 我这...

来源: Laya_社区 发布时间: 20180508

559. Laya.loader.load怎么停止回调 [ 72%]

...中 不去触发 loadComplete方法 我该怎么办? this._load.off(Laya.Event.COMPLETE, this, this.loadComplete); 这个是没用的 2017-12-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Monica - 知识达...

来源: Laya_社区 发布时间: 20171221

560. 休眠触发Event.BLUR的函数里有静音的话,恢复网页后报错 [ 72%]

休眠触发Event.BLUR的函数里有静音的话,恢复网页后报错 游戏中有这样一个监听Laya.stage.on(Event.BLUR, this, onBlur); onBlur函数里有这样一个语句SoundManager.stopAll(); 进行了主动静音,这样做的目的是休眠后游戏自动结束,结束后的界面...

来源: Laya_社区 发布时间: 20170320