大约有 42 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0034 秒)
.../Public@sl4615.mp3",type:laya.net.Loader.SOUND} ],Laya.Handler.create(this,onLoaded)); /*登录界面*/ var resArray=[ {url:"res/LoginView.fui",type:laya.net.Loader.BUFFER}, {url:"res/LoginView@atlas0.png",type:laya.net.Loader.IMAGE} ]; var loadcount=resArray.length; function onLoaded() { console....
来源: Laya_社区 发布时间: 20171207
...at Function.Texture._create (laya.core.js:15946) at Texture.__proto._onLoaded (laya.core.js:15750) at EventHandler.__proto.runWith (laya.core.js:1410) at ResInfo.__proto.event (laya.core.js:1166) at LoaderManager.__proto._endLoad (laya.core.js:14880) at Loader.onLoaded ...
来源: Laya_社区 发布时间: 20200201
加载成功要怎样判断呢? 不管是Laya.loader.load(url, onLoaded, ...) 还是Laya.loader.on(Event.COMPLETE, this, onLoaded); 加载失败都会到onLoaded,那怎么区分是不是加载成功? 2017-03-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果...
来源: Laya_社区 发布时间: 20170325
...的时候,源码里这一步会的url为“”的时候,会执行this.onLoaded(null)这一步_ _proto.load=function(url,type,cache,group,ignoreCache,useWorkerLoader){ (cache===void 0)&& (cache=true); (ignoreCache===void 0)&& (ignoreCache=false); ...
来源: Laya_社区 发布时间: 20200427
..." }; var blobFragment = []; function loadBytes(fragment: ArrayBuffer, onload: any = null): Laya.HTMLImage { var blob; try { blobFragment[0] = fragment; blob = new Blob(blobFragment, blobType); } catch (e) { var win: any = window; win.BlobBuilder = win.BlobBuilder || win.WebKitBlobBuilder || win...
来源: Laya_社区 发布时间: 20170502
...:/Users/Kevin/Desktop/test/AirWar/AirWar09/src/GameInfo.js:12:22) at onLoaded (file:///C:/Users/Kevin/Desktop/test/AirWar/AirWar09/src/Game.js:44:25) at EventHandler.__proto.runWith (file:///C:/Users/Kevin/Desktop/test/AirWar/AirWar09/bin/libs/laya.core.js:688:60) at ResInfo.__prot...
来源: Laya_社区 发布时间: 20171118
..._proto.onAsynLoaded (http://192.167.0.100/h5/layawe ... 6857:8) at ResInfo.onLoaded (http://192.167.0.100/h5/layawe ... 134:61) at EventHandler.__proto.runWith (http://192.167.0.100/h5/layawe ... 716:59) at ResInfo.__proto.event (http://192.167.0.100/h5/layawe ... 490:28) at LoaderManager.__proto._e...
来源: Laya_社区 发布时间: 20180417
... at Loader.__proto.complete (laya.core.js:14555) at Loader.__proto.onLoaded (laya.core.js:14523) at EventHandler.__proto.runWith (laya.core.js:1155) at HttpRequest.__proto.event (laya.core.js:911) at HttpRequest.__proto.complete (laya.core.js:14196) at HttpRequest.__p...
来源: Laya_社区 发布时间: 20180919
....js:882) at Loader.__proto.complete (laya.core.js:14965) at Loader.__proto.onLoaded (laya.core.js:14933) at EventHandler.__proto.runWith (laya.core.js:1125) at HttpRequest.__proto.event (laya.core.js:882) at HttpRequest.__proto.complete (laya.core.js:14607) at HttpRequest.__proto._onLoad (laya.core....
来源: Laya_社区 发布时间: 20181015
...){ Laya.loader.load("res/atlas/comp.atlas", Handler.create(null, onLoaded)); } function onLoaded(): void { //实例UI界面 var testUI: TestUI = new TestUI(); Laya.stage.addChild(testUI); } 并没有getRes操作。我按这样子写法就不行
来源: Laya_社区 发布时间: 20180327