大约有 557 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0070 秒)
...的二进制数据)package { import laya.display.Text; import laya.net.Loader; import laya.utils.Browser; import laya.utils.Handler; public class Test { public function Test() { Laya.init(550,400); Laya.stage.bgColor="#EEFFCC"; Laya.loader.load("hu.ttf",Handler.create(this,onLoaded),null,Loader.BU...
来源: Laya_社区 发布时间: 20161219
...ad 再play let dreamsSound:Laya.SoundChannel = null Laya.loader.load("res/dreams.mp3",Laya.Handler.create(this,function(){ dreamsSound = Laya.SoundManager.playMusic("res/dreams.mp3") })) let mainSound:Laya.SoundChannel = nul...
来源: Laya_社区 发布时间: 20190716
... EffectAnimation Bug laya 2.0 bug onEnable 分离模式节点没有创建 Loader.load加载json类型的资源,完成后调用Loader.clearRes后,并不能真正释放资源的bug image loadimage 加载网络图片BUG 2.3.0发布微信小游戏,自动缓存:查找不到资源问题的Bug 问...
来源: Laya_社区 发布时间: 20180310
...解压到本地,指定basePath为解压后的路径之后,通过laya.loader.create创建.ls场景 会报错,找不到资源文件,但是load json文件可以 2018-12-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1...
来源: Laya_社区 发布时间: 20181229
... Laya3D._onTextureCubeLtcLoaded Laya3D._onTextureCubeLtcLoaded=function(loader,ltcData){ if (loader._class.destroyed){ loader.endLoad(); }else { var ltcBasePath=URL.getPath(loader.url); ...
来源: Laya_社区 发布时间: 20180508
...分别调用?如图 请问一下 ProtoBuf 支持 as3 版本吗? 请问Loader.load支持支持swf格式的预加载吗? 同时加载多个.js文件 shader里面没有支持gl_PointCoord吗? 怎么让node-webkit支持MP4格式的视频 LAYAFlash 不支持第三方类库 GreenStock吗? 请问...
来源: Laya_社区 发布时间: 20190119
...tance = this; } onTxtLoad(aText){ console.info("dfasd"); } initTxt(){ Laya.loader.load("res/localtxt.txt",Laya.Handler.create(this, onTxtLoad),null,Loader.TEXT); } } 2019-01-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1...
来源: Laya_社区 发布时间: 20190130
...源加载成功后,通过回调方法绘制图片并添加到舞台 Laya.loader.load(this.monkey2,Laya.Handler.create(this,graphicsImg)); function graphicsImg(){ var img = new Laya.Sprite(); //获取图片资源,绘制到画布 img.graphics.drawTexture(Laya.loader.getRes(this.monkey2),100,50); /...
来源: Laya_社区 发布时间: 20170825
...看下,谢谢啦,贴上代码。 package { import flash.display.Loader; import flash.display.LoaderInfo; import flash.display.MovieClip; import flash.display.Sprite; import flash.display.StageAlign; import flash.display.StageScaleMode; import flas...
来源: Laya_社区 发布时间: 20170317
...omp.atlas?version=1.0.0", type: Loader.ATLAS };Laya.loader.load(obj); 引擎自动加载的png地址是res/atlas/comp.png, 而不是res/atlas/comp.png?version=1.0.0 这个能不能解决(一个项目加载另一个项...
来源: Laya_社区 发布时间: 20180427