大约有 2,782 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0062 秒)
Laya_社区(2462) Laya2.0_文档(107) Laya3.0_文档(59) Laya_示例(52) Laya3.0_api(51) Laya2.0_示例(43) laya_api(4) Laya2.0_api(4)
...itmap || this._bitmap.destroyed)&& url){ Laya.loader.load(url,Handler.create(this,function(bitmap){ _$this._bitmap=bitmap; }),null,"htmlimage",1,false,null,true); } } Laya.loader.load的cache参数...
来源: Laya_社区 发布时间: 20190311
...ookAt的用法 Texture图片能否进行翻转? Laya.URL.basePath与Laya.loader.load用法 请问关于遮罩的用法,在哪块可以找到? 编辑器下HtmlDIVElement属性能否支持style选项设置 请问下layaflash能否支持热更新? Laya.loader.clearTextureRes引起的内存泄...
来源: Laya_社区 发布时间: 20170419
...资源地址使用中括号 )加载 .proto 文件失败: Laya.loader.load(["res/protobuf/user.proto"], Handler.create(this, onAssetsLoaded)); 错误提示如下: [warn]Retry to load: E:/LayaBox/ProtobufLoadTest/bin/res/protobuf/user.proto [error]Failed to load: E:/LayaBox/ProtobufLoadTe...
来源: Laya_社区 发布时间: 20161223
...scaleMode = Laya.Stage.SCALE_NOSCALE; // Laya.stage.size(6000, 6000); Laya.loader.load([{ url: "res/atlas/comp.json", type: Loader.ATLAS }], Laya.Handler.create(this, this.onLoaded)); function onLoaded(): void { var sprite = new Laya.Sprite(); sprite.loadImage('comp/bg.png'); Laya.stage.addChild(spr...
来源: Laya_社区 发布时间: 20170803
...ER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; Laya.loader.load("../../res/bg2.png", Handler.create(this, setup)); })(); function setup() { var bg = new Sprite(); bg.loadImage("../../res/bg2.png"); Laya.stage.addChild(bg); bg2 = new Sprite(); bg2.loadImage("../../res/bg2.png")...
来源: Laya_示例 发布时间: 20251219
...URLRequest = new URLRequest(); imgURL.url="res/data/image/522.png"; var imgLoader:Loader = new Loader(); imgLoader.load(imgURL); imgLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, finished); function finished(evt:Event):void { var img:Bitmap = new Bitmap(evt.target.content.bitmapData); sta...
来源: Laya_社区 发布时间: 20170321
...: Error Could not attach to main target 微信小程序里加载json文件 Loader.load加载json类型的资源,完成后调用Loader.clearRes后,并不能真正释放资源的bug spine动画转换失败,加载错误:导出二进制数据出错:writeUint8 error - Out of range261, 有谁知道什...
来源: Laya_社区 发布时间: 20170914
...了 资源销毁不了 我先加载一个图集,然后执行销毁 Laya.loader.clearRes("res/atlas/mainTown.json"); 但内存并没回收,查看代码也执行了销毁过程,但内存就没没减下来。 还有个问题: 如果只是加载资源,不添加到显示对象上,内存是...
来源: Laya_社区 发布时间: 20170415
... 我加载几十张图片,图片在外网服务器上面,然后我用loader加载 Laya.loader.load(resArr, Laya.Handler.create(null, function () { var a = new Laya.Image('comp/bg.png') Laya.stage.addChild(a) }), Laya.Handler.create(null, function (value) { console.log('加载进度:' + value) ...
来源: Laya_社区 发布时间: 20180808
... var completeFunc = (scene)=>{ var sc = Laya.loader.getRes(sceneUrl); Laya.stage.addChild(sc); } Laya.loader.create(sceneUrl,new Laya.Handler(this,completeFunc)); 附件 : --> scene1.zip 2019-10-12 添加评论...
来源: Laya_社区 发布时间: 20191012