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

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

81. LAYAAIR加载SWF无线循环 [ 72%]

... //  mc.on(Event.LOADED,this,onComp);         //  mc.on(Event.COMPLETE,this,onEnd);         //  mc.x = (Laya.stage.width ) / 2;         //  mc.y = (Laya.stage.height) / 2;             Laya.stage.addChild(mc);             return mc;      ...

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

82. laya.ani.AnimationPlayer [ 72%]

...放完成后再停止 AnimationPlayerEventEvent Summary Defined By  complete完成一次循环时调度。AnimationPlayer  paused暂停时调度。AnimationPlayer  played开始播放时调度。AnimationPlayer  stopped停止时调度。AnimationPlayerProperty Detail_elapsedPlaybackTimepro...

来源: Laya2.0_api 发布时间: 20190513

83. spine动画,微信模拟器正常,真机动画图片颠倒!!!引擎大bug!!! [ 72%]

...动画模板 this.templet = new Laya.Templet(); this.templet.on(Laya.Event.COMPLETE, this, this.parseComplete); this.templet.on(Laya.Event.ERROR, this, this.onError); this.templet.loadAni("comp/skeleton/spineboy.sk"); } protected onExit() {}; private onError() { console.log("parse error"); } private...

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

84. 如何定义动画播放过某帧后的回调函数 [ 72%]

...2 浏览: 2501 关注: 2 人 182*****369 • 2016-12-14 20:35 ani.on(Event.COMPLETE,this,tryto); 没有这种对动画本身添加的监听,您能给贴一个简单的demo吗 qq502416708 • 2017-02-14 17:06 @cuixueying:你这是认真的还是开玩笑的。。。没人会这么写代码吧。。...

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

85. Spine骨骼动画点击区域偏移 获取不到width height [ 72%]

...bin/res/spine_model/${spine}.sk`);         this._factory.on(Laya.Event.COMPLETE, this, this.parseComplete, [x, y]);     }     private parseComplete(x, y) {         this._factory.off(Laya.Event.COMPLETE, this, this.parseComplete);         var sprite = this._factory.buildArmature(0); ...

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

86. http无响应 [ 72%]

...est(); hr.once(Event.PROGRESS, this, onHttpRequestProgress); hr.once(Event.COMPLETE, this, onHttpRequestComplete); hr.once(Event.ERROR, this, onHttpRequestError); hr.send('http://111.73.45.19/index.php/Tgy/tgyPost', 'username=c11111&password=888888', 'post', 'text'); } function onHttpRequestErro...

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

87. 从网络上下载的BMP图片二进制数据后,如何赋值给 laya.ui.Image [ 72%]

...var req = new laya.net.HttpRequest();         req.on(laya.events.Event.COMPLETE, this, cb_onSuccess);         req.on(laya.events.Event.ERROR, this, cb_onFail);         req.send(url);      }      // 下载jpg图片成功后,显示在舞台上,response为 bmp图片二进制    ...

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

88. Animator如何监听播放完毕 [ 72%]

...监听播放完毕 版本 2.0.0bate4 , 1.0版本的Animator.on( Laya.Event.COMPLETE ) 方法在2.0.0bate4中行不通 . 那目前如何监听动画播放结束呢 ???? 2018-11-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交...

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

89. 资源加载事件监听 [ 72%]

...载事件是否可以监听, 比如类似这样 Laya.stage.on(Laya.Event.COMPLETE, this, this.OnLoadLog); 2017-08-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: 资源加载有Event.L...

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

90. 多个骨骼动画怎么按顺序播放? [ 72%]

... 2 个回复 Monica - 知识达人 赞同来自: 监听播放完成事件COMPLETE,在回调函数中播放下一个即可 2017-09-20 0 1 分享 微博 QZONE 微信 189*****192 赞同来自: animationUI.animation.on(Event.COMPLETE, this, this.onAnimationEnd);  监听动画播放完成 再开始播...

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