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

大约有 13 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0027 秒)

1. laya有没有进入舞台和移除舞台时触发的事件,类似于Event.REMOVED_FROM_STAGE,Event.ADDED_TO_STAGE [ 100%]

...移除舞台时触发的事件,类似于Event.REMOVED_FROM_STAGE,Event.ADDED_TO_STAGE 2019-11-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 朝暮 赞同来自: 新手,没百度出来,求指教,感...

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

2. LayaFlash如何使用chrome调试问题? [ 80%]

... { public function Main() { if (stage) init(); else addEventListener(Event.ADDED_TO_STAGE, init); } private function init(event:Event = null):void { removeEventListener(Event.ADDED_TO_STAGE, init); IFlash.setSize(960, 640); //2D项目中设置场景尺寸 IFlash.setOrientationEx(1); //是否为横...

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

3. LayaFlash针对资源的加载是同步还是异步? [ 74%]

...blic function Main():void { if (stage) init(); else addEventListener(Event.ADDED_TO_STAGE, init); } private function init(e:Event = null):void { removeEventListener(Event.ADDED_TO_STAGE, init); this.stage.scaleMode = StageScaleMode.NO_SCALE; this.stage.align = StageAlign.TOP_LEFT; IFlash.setSize(100...

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

4. 怎么实现同一个工程内分包? [ 74%]

...blic function Main():void { if (stage) init(); else addEventListener(Event.ADDED_TO_STAGE, init); } private function init(e:Event = null):void { removeEventListener(Event.ADDED_TO_STAGE, init); this.stage.scaleMode = StageScaleMode.NO_SCALE; this.stage.align = StageAlign.TOP_LEFT; IFlash.setSize(100...

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

5. 关于项目分包的问题?? [ 73%]

...alse); //是否显示帧率 if (stage) init(); else addEventListener(Event.ADDED_TO_STAGE, init); } private function init(e:Event = null):void { removeEventListener(Event.ADDED_TO_STAGE, init); this.stage.scaleMode = StageScaleMode.NO_SCALE; this.stage.align = StageAlign.TOP_LEFT; var loginView:Logi...

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

6. layaFlash 无法使用 Loader 加载外部SWF和图片 [ 71%]

...nary() { super(); if(stage) { init(); } else { this.addEventListener(Event.ADDED_TO_STAGE,init); } } private function init(e:Event=null):void { var loader:Loader=new Loader(); var context:LoaderContext=new LoaderContext(false,ApplicationDomain.currentDomain); loader.contentLoaderInfo.addEventListene...

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

7. swf转成H5资源显示超出原有范围 [ 70%]

...    if (stage) init();             else addEventListener(Event.ADDED_TO_STAGE, init);         }                  private function setWindowFullSize() : void         {             var stageW:int = 0;             var stageH:int = 0;         ...

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

8. 添加舞台事件问题? [ 66%]

添加舞台事件问题? this.addEventListener(Event.ADDED_TO_STAGE, addtoStageHandler); as3的添加舞台事件,Laya有木有类似的事件啊? 2017-03-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 ...

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

9. Laya中的宏编译要怎么用啊 [ 61%]

...blic function Main():void { if (stage) init(); else addEventListener(Event.ADDED_TO_STAGE, init); } private function init(e:Event = null):void { removeEventListener(Event.ADDED_TO_STAGE, init); this.stage.scaleMode = StageScaleMode.NO_SCALE; this.stage.align = StageAlign.TOP_LEFT; __JS__Test(); } pr...

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

10. 新手!谁懂得把下面两个文件转成layaair可以运行的代码 [ 55%]

...me");             }               this.addEventListener(Event.ADDED_TO_STAGE, onAddedToStageHandler);           }           private function onAddedToStageHandler(evt:Event):void         {             this.removeEventListener(Event.ADDED_TO_STAGE, onAddedToStageHandl...

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