• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,220 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0087 秒)

501. 急急 在线等 加载xml 后直播无法自动播放 附示例项目 [ 69%]

急急 在线等 加载xml 后直播无法自动播放 附示例项目 LoaderPolicy.setup(URLResolver.solvePath("files.fst?"), Handler.create(this, function xload() : void { //无法播放 Laya.loader.load(URLResolver.solvePath("config.xml"), Handler.create(this, onConfigLoaded), null, Loader.XML);...

来源: Laya_社区 发布时间: 20171115

502. 图集制作与使用详解(JavaScript-IDE篇(JS)-使用IDE创作) [ 69%]

...的示例代码为: ```javascript //atlas方式图集使用示例 Laya.loader.load("./res/test/c1.atlas", Laya.Handler.create(this, onLoaded)); ```   `.json`是一种兼容第三方的图集配置方式,由于`.json`文件应用广泛,不仅仅用于图集,所以为了识别是否为图...

来源: Laya2.0_文档 发布时间: 20210715

503. 关于SWF的bug [ 69%]

...Animation Bug LayaAir IDE APP构建BUG,不显示版本,在线等,急 Loader.load加载json类型的资源,完成后调用Loader.clearRes后,并不能真正释放资源的bug 2.3.0发布微信小游戏,自动缓存:查找不到资源问题的Bug Laya2.0.1动态批处理的bug? 问题状...

来源: Laya_社区 发布时间: 20170522

504. 图集制作与使用详解(TypeScript-IDE篇(TS)-使用IDE创作) [ 69%]

...的示例代码为: ```typescript //atlas方式图集使用示例 Laya.loader.load("./res/atlas/test.atlas", Laya.Handler.create(this, this.onLoaded)); ``` `.json`是一种兼容第三方的图集配置方式,由于`.json`文件应用广泛,不仅仅用于图集,所以为了识别是否为...

来源: Laya2.0_文档 发布时间: 20210714

505. JS里面定义一个函数,无法使用Laya.Handler.creat回调 [ 69%]

...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

506. 按照打地鼠教程来无法正常加载资源 [ 69%]

...as/ui.atlas"},                 {res:"res/ui/back.png",type:Loader.IMAGE}             ];             Laya.loader.load(resArr,Handler.create(this,this.onLoaded));         }         private function onLoaded():void{             //显...

来源: Laya_社区 发布时间: 20180106

507. 如何用代码控制panel的vscroll滚动幅度 [ 69%]

...ueying 赞同来自: package { import laya.display.Sprite; import laya.net.Loader; import laya.ui.Panel; import laya.utils.Handler; public class LayaAirDemo { public function LayaAirDemo() { Laya.init(600,600); Laya.stage.bgColor='#EEFFCC'; Laya.loader.load("res/atlas/comp.json",Handler.create(this,...

来源: Laya_社区 发布时间: 20170719

508. 生成的粒子特效怎么设置colorComponentInter无效? [ 69%]

...uper(this); letter = letter; this.loadImage('res/jiezou/wenzi2.png'); Laya.loader.load("res/parts/qipao.part", Handler.create(this, onAssetsLoaded), null, Loader.JSON); } function onAssetsLoaded(settings) { settings.colorComponentInter = true; sp = new Particle2D(settings); sp.emitter.start(); sp.pl...

来源: Laya_社区 发布时间: 20161230

509. HttpRequest 回调方法都没执行 LayaAir 1.7.17 beta JS版本 [ 69%]

...var resourceArray = [ { url:"res/atlas/comp.atlas" , type : Laya.Loader.ATLAS} ]; Laya.loader.load(resourceArray,Laya.Handler.create(null,loadResourceComplete)); } function loadResourceComplete() { Laya.stage.addChild(new LoginView()); } })(); feiguangfu • 2018-03-16 09:55 这个是主...

来源: Laya_社区 发布时间: 20180315

510. 图集制作与使用详解(ActionScript-IDE篇(AS3)-使用IDE创作) [ 69%]

...的示例代码为: ```typescript //atlas方式图集使用示例 Laya.loader.load("./res/atlas/test.atlas", Handler.create(this, onLoaded)); ``` `.json`是一种兼容第三方的图集配置方式,由于`.json`文件应用广泛,不仅仅用于图集,所以为了识别是否为图集配置...

来源: Laya2.0_文档 发布时间: 20210714