大约有 272 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0059 秒)
...不能在native环境下手动载入若干脚本并执行。 ``` Laya.loader.load("http://118.17.23.1:9877/xxx.js", Handler.create(this, onLoad));//as3 ``` 2017-10-25 2 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回...
来源: Laya_社区 发布时间: 20171025
...下: var resources = [ { url: "res/atlas/images/guide.atlas", type: Laya.Loader.ATLAS }, { url: "config/data.txt", type: Laya.Loader.BUFFER }]; Laya.loader.load(resources, Handler.create(this, this.onComplete), Handler.create(this, this.onProcess), null, 1, false); } onComplete(e,a,b) { console.lo...
来源: Laya_社区 发布时间: 20180816
...机预览显示异常 1.7.20beta有bug,帧属性面板打不开 请问下loader如何强制加载一个文件,避免浏览器的缓存 怎样获取浏览器地址传过来的GET参数 问题状态 最新活动: 2017-03-27 10:46 浏览: 3342 关注: 4 人 cuixueying • 2017-03-27 18:17 浏览器...
来源: Laya_社区 发布时间: 20170326
已经进行微信适配,微信小游戏loader加载xml失败,其他类型加载成功,这个要怎么解决? 2018-02-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 qian 赞同来自: 不好意思我...
来源: Laya_社区 发布时间: 20180208
...一样,如下: 本地资源 网络资源: 导致的原因是在Laya.loader.loadPackage加载网络资源时fileConfig.json中图片相关配置无法加载导致的,现在我们是重写了原码,暂时能解决这个问题。在_loadSubFileConfig方法中要增加服务器的地址,如...
来源: Laya_社区 发布时间: 20250613
...31 16:32 @smile:传demo吧。 smile • 2018-05-31 17:36 @Laya_Aaron: Laya.loader.load(assetArr,Handler.create(this,this.gameStart),Handler.create(this,onProgress,null,false)); private var assetArr:Array=[ {url:"sound/bgMusic.mp3", type:Loader.SOUND}, {url:"sound/button.mp3", typ...
来源: Laya_社区 发布时间: 20180531
...生成图集后,放到img/assets目录下 然后这样使用: Laya.loader.load([{ url : 'http://localhost:3000/shoot/v2/img/assets/assets.json', type : Loader.ALTAS }], Handler.create(this, function () { var _getRes = Laya.loader.getRes('bg-toolbar.png'); console.log(_getRes); }));然后log...
来源: Laya_社区 发布时间: 20170223
...文档的例子试了不行 // 程序入口 module laya { import Loader = Laya.Loader; import Handler = Laya.Handler; export class Loader_MultipleType { private ROBOT_DATA_PATH: string = "res/swf/star.swf"; private ROBOT_DATA_PATHS: string = "res/swf/star.json...
来源: Laya_社区 发布时间: 20180203
如何解析json文件并获取某对象值? private jsonParse() { Laya.loader.load("res/atlas/resTest0.json", Handler.create(this, this.onLoaded), null, Loader.JSON); } private onLoaded() { var json : JSON = Laya.Loader.getRes("res/atlas/resTest0.json"); var jsTx = JSON.stringify(json); } 已经...
来源: Laya_社区 发布时间: 20171016
...缓存后,再加载图片会有延时显示问题 我想咨询一下: loader.clearRes()清理指定资源地址的缓存后,用loader.load 加载不回来了吗?为何再次加载同一图片显示时有延迟? http://m.infinistudio.cn/test/nestle/ 点击1,再点击2, 再点击1...
来源: Laya_社区 发布时间: 20190312