大约有 708 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0039 秒)
Laya_社区(372) Laya3.0_api(110) Laya2.0_api(105) laya_api(67) Laya2.0_文档(26) Laya2.0_示例(10) Laya3.0_文档(9) Laya_示例(9)
...aya.core.js:999) at Loader.event (laya.core.js:1038) at Loader.complete (laya.core.js:18719) at Loader.onLoaded (laya.core.js:18675) at EventHandler.runWith (laya.core.js:997) at HttpRequest.event (laya.core.js:1038) at HttpRequest.complete (laya.core.js:18328) ...
来源: Laya_社区 发布时间: 20200518
...neVersion.v3_8); this.templet.loadAni(this.aniPath); this.templet.on(Event.COMPLETE, this, this.parseComplete); this.templet.on(Event.ERROR, this, this.onError); } parseComplete() { this.skeleton = this.templet.buildArmature(); Laya.stage.addChild(this.skeleton); this.skeleton.pos(Browser.width / 2,...
来源: Laya2.0_示例 发布时间: 20251130
...Request(); xhr.http.timeout = 10000;//设置超时时间; xhr.once(Event.COMPLETE,this,completeHandler); xhr.once(Event.ERROR,this,errorHandler); xhr.on(Event.PROGRESS,this,processHandler); xhr.send("https://www.baidu.com/","","get","text"); function processHandler(data){ console.log(data); consol...
来源: Laya_社区 发布时间: 20180830
...es/spine/spineRes1/dragon.sk"; mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, this.parseComplete); mFactory.on(Event.ERROR, this, this.onError); mFactory.loadAni(mAniPath); } onError() { trace("error"); } parseComplete() { // 创建模式为1,使用动画自己的缓冲区,可以启...
来源: Laya2.0_示例 发布时间: 20251130
...接 提交 2 个回复 cuixueying 赞同来自: 为其添加tem.on(Event.COMPLETE,this,onCom);事件即可! 2017-09-12 0 0 分享 微博 QZONE 微信 shimp 赞同来自: 能详细一点吗?tem是哪个对象,我需要所有的都加载完成,谢谢 我的代码是 private loadSk{ this.sk_5...
来源: Laya_社区 发布时间: 20170912
...p():void 通过基础数据生成mipMap。 BaseTexture load(url:String, complete:Handler):void[static] 加载TextureCube。 TextureCube setSixSideImageSources(source:Array, premultiplyAlpha:Boolean = false):void 通过六张图片源填充纹理。 TextureCube setSixSidePixels(width:int, he...
来源: Laya2.0_api 发布时间: 20190513
...Event.PROGRESS, this, this.onHttpRequestProgress); this.hr.once(Laya.Event.COMPLETE, this, this.onHttpRequestComplete); this.hr.once(Laya.Event.ERROR, this, this.onHttpRequestError); this.hr.send('http://tdev.sanguoh5.com:8001/?r=h.a.a', null, 'get', 'text'); } private onHttpRequestError(e: any): ...
来源: Laya_社区 发布时间: 20201023
..."res/spine/spineRes5/vine.sk"; mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, this.parseComplete); mFactory.on(Event.ERROR, this, this.onError); mFactory.loadAni(mAniPath); } onError() { trace("error"); } parseComplete() { const Event = Laya.Event; // 创建模式为1,使用动画自...
来源: Laya2.0_示例 发布时间: 20251130
...数永远不会执行到,不知道具体原因 然后loop注册的 _checkComplete 一直在执行 里面的逻辑条件一直无法达成所以也调不了this._complete();:private _checkComplete(): void { //该条件一直无法达成 if (ILaya.Browser.measureText(TTFLoader._testString, this._f...
来源: Laya_社区 发布时间: 20200628
...么做 Monica • 2017-11-17 15:45 @152*****215:直接监听动效动画的COMPLETE(播放完成)事件即可 152*****215 • 2017-11-17 16:26 @Monica:动画模板是直接拖到控件上的,怎么监听complete事件 Monica • 2017-11-17 16:31 @152*****215:右侧属性栏中有var变量,...
来源: Laya_社区 发布时间: 20171117