大约有 278 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0051 秒)
Laya_社区(262) Laya3.0_文档(6) Laya3.0_api(3) Laya2.0_文档(3) laya_api(1) Laya_示例(1) Laya2.0_示例(1) Laya2.0_api(1)
...lic/Protected All Inherited Externals Only exported Menu Globals "laya/net/Loader" Loader Class Loader Loader 类可用来加载文本、JSON、XML、二进制、图像等资源。 Hierarchy EventDispatcher Loader Index Constructors constructor Properties maxLoader retryDelay retryNum ANIMATIONCLIP ...
来源: Laya3.0_api 发布时间: 20231115
...音乐文件太大 播放延迟 Laya 背景音乐太大 预加载 Laya.loader.load 音乐 Laya.SoundManager.playMusic 播放 会出现延迟效果 Laya.loader.load(['remote/music/' + this.soundUrl + '.mp3'], new Laya.Handler(this, () => { thi...
来源: Laya_社区 发布时间: 20201102
Laya.loader.create 加载进度问题 我用Laya.loader.create加载.lh模型, function ModelManager() { Laya.loader.create("res/Pipe/Pipe/a.lh", Laya.Handler.create(this, this.onCreateComplete()),Laya.Handler.create(this, this.onAssetsLoading)); } ModelManager.prototype.onCreateComplete = functi...
来源: Laya_社区 发布时间: 20180514
swf预加载问题 loader不能用于swf的预加载,于是用MovieClip的load方式做了个。不知道会不会有问题。package util { import laya.ani.swf.MovieClip; import laya.events.Event; import laya.events.EventDispatcher; import laya.net.Loader; import laya.utils.Handler; public cl...
来源: Laya_社区 发布时间: 20161213
...请: 与内容相关的链接 提交 1 个回复 qian 赞同来自: Laya.loader.load().on(Event.ERROR,this,onError); 2018-01-11 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 132*****180 相关问题 两个对象new了一个相同的...
来源: Laya_社区 发布时间: 20180111
音乐文件能预加载吗 音乐文件能像图集一样用Loader预加载吗 2018-04-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Apple 赞同来自: 可以,比如Loader中的url数组加上 {"url":"res...
来源: Laya_社区 发布时间: 20180409
...缓存后第一次加载能播放,此后再加载不播放的问题 Laya.loader.create缓存加载的 2017-06-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 gy760736077 赞同来自: 还有,即使缓存了....
来源: Laya_社区 发布时间: 20170614
..."./js/dom_parser"); require("code.js");在加载这个文件的时候 Laya.loader.load([{ url: "button_font.fnt" }], Handler.create(null, onLoaded)); 图片里的 type="font",最终执行的 tempData=data.data; tempData 直接就是button_font.fnt里面内容的字符串类型MiniLoader.onReadNati...
来源: Laya_社区 发布时间: 20180704
...nfig(){ this.configAsset=[ {url:"res/config/playerCard.json",type:laya.net.Loader.TEXT} ]; Laya.loader.load(this.configAsset,Handler.create(this,this.loadConfigCallBack)) } public loadConfigCallBack(str:boolean){ if(str){ var config; config=laya.net.Loader.getRes("res/config/playerCard.json"); Playe...
来源: Laya_社区 发布时间: 20180117
... var imgArr = ; imgArr.push({url:"cont/cpf1.jpg",type:Loader.IMAGE}); imgArr.push({url:"cont/cpr1.jpg",type:Loader.IMAGE}); imgArr.push({url:"cont/cps1.jpg",type:Loader.IMAGE}); imgArr.push({url:"cont/cpt1.jpg",type:Loader.IMAGE}); ...
来源: Laya_社区 发布时间: 20160815