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

大约有 298 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0039 秒)

141. HTTP以POST发送Byte字节流,服务器无法解析 [ 69%]

...); conn.once(Event.PROGRESS, this, onHttpRequestProgress); conn.once(Event.COMPLETE, this, onHttpRequestComplete); conn.once(Event.ERROR, this, onHttpRequestError); var buffBody=new Byte(); buffBody.endian=Byte.BIG_ENDIAN; buffBody.writeInt32(9); buffBody.writeInt32(100); buffBody.writeByte(1); conn...

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

142. LAYAAIR加载SWF无线循环 [ 69%]

... //  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

143. ani动画问题,cannot read property '_tf' of null [ 69%]

....ani1.play(0, false);//出错了             this.ani1.on(Laya.Event.COMPLETE, this, () => {                 this.removeSelf();             });         } 这样播放动画有时候会报错,如附件图,但有时候又不报错 附件 : --> 2017-06-14 添加评论 免...

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

144. 提示“AtlasResourceManager:Dispose the inner Atlas。” [ 69%]

...) { var self = this; var xhr = new Laya.HttpRequest(); xhr.once(Laya.Event.COMPLETE,this,completeHandler); xhr.once(Laya.Event.ERROR,this,errorHandler); xhr.send("res/monkey2.png","","get","arraybuffer"); function completeHandler(data){ var url = Laya.Browser.window.URL.createObjectURL(data);//创...

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

145. 学习官方视频教程中飞机大战游戏出现的问题!! [ 69%]

...his.addChild(this.playAnim);             this.playAnim.on(Laya.Event.COMPLETE,this,this.onPlayComplete);         } onMouseMove():void{         //根据鼠标位移主角方法         this.hero.pos(Laya.stage.mouseX,Laya.stage.mouseY);     }     2018-05-03 0 0 分享 微博 QZO...

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

146. 如何能监听到TouchStart和TouchEnd事件 [ 69%]

...性值。*/         static ERROR: string;         /** 定义 complete 事件对象的 type 属性值。*/         static COMPLETE: string;         /** 定义 loaded 事件对象的 type 属性值。*/         static LOADED: string;         /** 定义 progres...

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

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

...ion(){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: start...

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

148. 3D中的Animator如何从指定的某一帧开始播放动画 [ 69%]

...ame); animator.on(Event.STOPPED, this, this.removeClip); animator.on(Event.COMPLETE, this, this.removeClip); animator.play("runShoot"); 2018-07-26 0 1 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 这个要在unity 里面进行切片,从那一帧开始切,然后用切片的名字播放 201...

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

149. 关于3D动画的ani监听播放完毕后,播放默认动画不行 [ 68%]

...ni监听播放完毕后,播放默认动画不行 this.mAni.on(Laya.Event.COMPLETE,this,this.aniComplete); this.mAni.play("free") aniComplete(type:number):void {    this.mAni.play("ready"); }   播放完指定动画后,这个回调不执行。   附件 : --> pkwang3D.rar 2017-11-16 添加评...

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

150. Laya.loader.create中的progress回调好像不准确? [ 68%]

...ayaScene_yueren/yueren.ls", Laya.Handler.create(this, function () { //complete func console.log("Scene loaded"); isLoaded = true; }), Laya.Handler.create(this, function (pro) { if (debug) console.log("Loading progresss : " + pro); }, null, false), Laya.Scene); Monica • 201...

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