大约有 16 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0056 秒)
...nsion-resource.__proto.send @ firstGame.max.js:9742 firstGame.max.js:9142 [error]Failed to load: F:/Laya/Project/firstGame/bin/h5/res/atlas/comp.json 2firstGame.max.js:15426 lose skin comp/button.png 2firstGame.max.js:15426 lose skin comp/checkbox.png file:///F:/Laya/Project/firstGame/bin/h5/comp/bg...
来源: Laya_社区 发布时间: 20170108
...noreCache:Boolean = false):void 加载资源。加载错误会派发 Event.ERROR 事件,参数为错误信息。 Loader off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = nul...
来源: laya_api 发布时间: 20170929
...OMPLETE 事件;如果队列中任意一个加载失败,会派发 Event.ERROR 事件,事件回调参数值为加载出错的资源地址。 LoaderManager 类提供了以下几种功能: 多线程:默认5个加载线程,可以通过maxLoader属性修改线程数量; 多优先级:有0-4...
来源: Laya2.0_api 发布时间: 20190513
...OMPLETE 事件;如果队列中任意一个加载失败,会派发 Event.ERROR 事件,事件回调参数值为加载出错的资源地址。 LoaderManager 类提供了以下几种功能: 多线程:默认5个加载线程,可以通过maxLoader属性修改线程数量; 多优先级:有0-4...
来源: laya_api 发布时间: 20170929
...kerLoader:Boolean = false):void 加载资源。加载错误会派发 Event.ERROR 事件,参数为错误信息。 Loader off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = nul...
来源: Laya2.0_api 发布时间: 20190513
...OMPLETE 事件;如果队列中任意一个加载失败,会派发 Event.ERROR 事件,事件回调参数值为加载出错的资源地址。 LoaderManager 类提供了以下几种功能: 多线程:默认5个加载线程,可以通过maxLoader属性修改线程数量; 多优先级:有0-4...
来源: Laya3.0_api 发布时间: 20231102
...404 Not Found” 表示请求的资源不存在;“500 Internal Server Error” 表示服务器内部出现错误。 响应头部包含了关于响应的各种信息,如内容类型(Content - Type)、内容长度(Content - Length)、服务器软件(Server)等。例如,“Content - ...
来源: Laya3.0_文档 发布时间: 20251010
示例打地鼠发布打包后提示TypeError: this.preinitialize is not a function $ adb shell am start -n "com.layabox.game/demo.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -D Waiting for application to come online: com.layabox.game.test | com.layabox.game Conn...
来源: Laya_社区 发布时间: 20171218
...s,Laya.Handler.create(this,this.onSuccess),Laya.Handler.create(this,this.onError)); } } private showMessage():void{ var tex:Laya.Text = new Laya.Text(); Laya.stage.addChild(tex); tex.text = "单击舞台播放和暂停"; tex.color = "#ffffff"; tex.fontSize = 100; tex.valign = "middle"; tex.align = "...
来源: Laya3.0_文档 发布时间: 20251010
...Scenes/Index.ls"); }); }); // 侦听加载失败 Laya.loader.on(Laya.Event.ERROR, this, this.onError); }); } /** * 当报错时打印错误 * @param err 报错信息 */ onError(err: string): void { console.log("加载失败: " + err); } /** * 加载时侦听 */ onLoading(progress: number): void { //...
来源: Laya3.0_文档 发布时间: 20241014