大约有 557 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0074 秒)
swf转laya,还需要加载原swf?Loader type是什么? 问题1: mapFlash转laya格式文件,加载时还需要加载mapFlash.swf? 问题2: {url:"../../res/swf/mapFlash.swf", type:Loader.BUFFER} swf的type是Loader.BUFFER吗? 2017-01-17 添加评论 免费帖 --> 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20170117
...th (AA.max.js:674) at ResInfo.__proto.event (AA.max.js:453) at LoaderManager.__proto._endLoad (AA.max.js:9492) at Loader.onLoaded (AA.max.js:9469) at EventHandler.__proto.runWith (AA.max.js:674) at Loader.__proto.event (AA.max.js:453) 附件 : --> testA_B.zip 2017-07-25...
来源: Laya_社区 发布时间: 20170725
...行报错: TypeError: Cannot read property 'load' of null 为何使用Laya.loader.load都会报错 附件 : --> fishHunter.zip 2019-05-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 引...
来源: Laya_社区 发布时间: 20190521
...-----------------------package { import laya.display.Text; import laya.net.Loader; import laya.utils.Handler; /** * ... * @author OttoChen */ public class TestMain { private var txt:Text = null; public function TestMain() { Laya.init(800, 800); txt = new Text(); txt.mouseEnabled = false; txt.overflo...
来源: Laya_社区 发布时间: 20180227
使用UrlLoader加载图片,flash获取data为byteArray,翻译成h5后data为image? package { import flash.display.Bitmap; import flash.display.Loader; import flash.display.Sprite; import flash.events.Event; import flash.net.URLLoader; import flash.net.URLLoaderDataFormat; import flash.net.UR...
来源: Laya_社区 发布时间: 20151228
...到create函数。问题很好重现。 IED 2.5版本 如果不使用Laya.loader.load加载后创建prefab是没有问题的。 Laya.loader.load(url, Laya.Handler.create(this, function (obj: any) { let prefab = Laya.Pool.getItemByCreateFun('prefab_' + name, obj.c...
来源: Laya_社区 发布时间: 20200409
...g 【BUG备忘录】关于Tween动画无法正常作用问题-解决办法 Loader.load加载json类型的资源,完成后调用Loader.clearRes后,并不能真正释放资源的bug 微信6.7.2版本3D显示BUG 微信小游戏兼容性bug 部分机型load场景不显示 image loadimage 加载网...
来源: Laya_社区 发布时间: 20190625
引擎1.7.18 新增Loader的preLoadedMap属性怎么用 引擎1.7.18 新增Loader的preLoadedMap属性在API中没有.请问具体怎么用啊? 有Demo之类的嘛? 2018-05-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1...
来源: Laya_社区 发布时间: 20180524
... = function(type){ this.width = 180; this.height = 21; var texture1 = Laya.loader.getRes("res/hp_bg.png"); var texture2; switch (type) { case Hp.HP_TYPE_ENERGY: texture2 = Laya.loader.getRes("res/en_bar.png"); break; case Hp.HP_TYPE_SPEED: texture2 = Laya.loader.getRes("res/hp_bar.png"); break; } th...
来源: Laya_社区 发布时间: 20160803
...来的GET参数 如何定义动画播放过某帧后的回调函数 Laya.loader.create 进度回调函数执行两次 怎么停止正在运行Laya.timer.frameLoop的回调函数 点击按钮打开对话框的时候能往对话框中传一个参数吗 对象池对类怎么传参数 IDE中js压缩工...
来源: Laya_社区 发布时间: 20210131