大约有 418 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0039 秒)
...目加载不成功 自己创建空项目后 写加载代码 不能执行到onLoad方法 具体看图: 目录下都是有相关文件的 附件 : --> 2017-02-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 newlea...
来源: Laya_社区 发布时间: 20170220
...d([{url: "res/atlas/comp.json", type: Loader.ATLAS}], Handler.create(this, onLoaded)); } private function onLoaded():void { //实例UI界面 listP = new ListPageUI(); Laya.stage.addChild(listP); Laya.timer.once(1000,this,onAdd);//1000毫秒后初始化list数据 listP.add.on(Event.CLICK,this,onAddCl...
来源: Laya_社区 发布时间: 20170313
...功? Laya.loader.load(["res/book00"+2+".txt"], Laya.Handler.create(this, onLoaded(i))) 2018-04-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_XS 赞同来自: Laya.loader.load配合 Laya.loader.getRes使...
来源: Laya_社区 发布时间: 20180406
...册,吗 Laya.loader.load("res/font.fnt", Laya.Handler.create(this, this.onLoaded),null,Laya.Loader.FONT); 应该没什么问题了,就是这样的 附件 : --> 2017-02-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...
来源: Laya_社区 发布时间: 20170207
...56) at Loader.__proto.complete (libs/laya.core.js:16348) at Loader.__proto.onLoaded (libs/laya.core.js:16316) at EventHandler.__proto.runWith (libs/laya.core.js:1399) at HttpRequest.__proto.event (libs/laya.core.js:1156) at HttpRequest.__proto.complete (libs/laya.core.js:14101) at HttpRequest.__prot...
来源: Laya_社区 发布时间: 20181203
...png文件同名 mBitmapFont.loadFont("res/test.fnt",new Laya.Handler(this,onLoaded)); function onLoaded(){ init(); } function init(){ //如果位图字体中,没放空格,最好设置一个空格宽度 mBitmapFont.setSpaceWidth(10); Laya.Text.registerBitmapFont(mFontName,mBitmapFont); var txt = ...
来源: Laya2.0_文档 发布时间: 20201114
...//E:/LayaWorkspace/javaScriptLaya/bin/libs/laya.core.js:483:52) at ResInfo.onLoaded (file:///E:/LayaWorkspace/javaScriptLaya/bin/libs/laya.core.js:12724:18) at EventHandler.__proto.runWith (file:///E:/LayaWorkspace/javaScriptLaya/bin/libs/laya.core.js:713:27) at ResInfo.__proto.event (file:///E:/Lay...
来源: Laya_社区 发布时间: 20180104
...Laya.loader.load("lang/zh_CN/scripts/base.json", Handler.create(this, this.onLoaded), null, Loader.JSON); 加载这个json文件 没办法加载进来 2017-12-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 伐...
来源: Laya_社区 发布时间: 20171213
打包apk方法未执行 打包到apk发现onLoaded没执行,是为什么?前面都运行了,在laya编辑器运行都是对的 附件 : --> 2018-12-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aa...
来源: Laya_社区 发布时间: 20181225
...s", type:Loader.ATLAS}); Laya.loader.load(res, Handler.create(null, this.__onLoaded)); } private __onLoaded(): void { Laya.stage.addChild(new Test()); } } new Entry(); Test.ts import Sprite = Laya.Sprite; class Test extends Sprite{ constructor(){ super(); this._initView(); } private _initView():v...
来源: Laya_社区 发布时间: 20180308