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

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

311. layaAir1.3.0版本swf组件的使用 [ 44%]

... QZONE 微信 username_zmf 赞同来自: 对[MovieClip]的url属性赋值comp/data/黄色2.swf时遇错误: Cannot read property '_parent' of undefined 请问 在IDE舞台上进行显示时候报这个错,如何解决 swf_2.zip 2016-09-20 0 3 分享 微博 QZONE 微信 gplzh 赞同来自: 我这...

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

312. webgl 下当对象子显示对象存在panel且panel有子集时,旋转此显示对象会导致此显示对象的同级对象消失!(1.7.10beta) [ 44%]

....stage.alignH = Laya.Stage.ALIGN_CENTER; Laya.loader.load([{url:"res/atlas/comp.json",type:Laya.Loader.ATLAS}],Laya.Handler.create(this,this.loadComp)); } private loadComp():void{ var parent:ui.ParentViewUI = new ui.ParentViewUI(); Laya.stage.addChild(parent); //当注释掉设置rotaion的代码则...

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

313. 动效模板(JavaScript-LayaAir基础篇(JS)-动画基础) [ 44%]

...加载成功后将UI界面添加到舞台上 Laya.loader.load("./res/atlas/comp.atlas",Laya.Handler.create(this,onLoaded)); function onLoaded(){ //实例化导出的UI类 var efc = new ui.TestPUI(); //添加到舞台 Laya.stage.addChild(efc); } ``` 运行后,按钮被按下时,动画效果如动...

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

314. laya.ui.View [ 44%]

...Methods | Events Packagelaya.uiClasspublic class ViewInheritanceView Box Component Sprite Node EventDispatcher ObjectSubclasses Dialog View 是一个视图类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值...

来源: laya_api 发布时间: 20170929

315. 关于LayaAir IDE使用工具图集打包无生成文件的问题 [ 43%]

...一层 比如我的图片在F:\tiankun\iWork\layawork\myLaya\laya\assets\comp下面 选的时候就只要选到F:\tiankun\iWork\layawork\myLaya\laya\assetsxi就行了 2018-05-30 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 yinglei999 ...

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

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

...ROGRESS,this,this.onProgress); //数据传输中 this.http.once(Laya.Event.COMPLETE,this,this.onComplete); //数据传输完成后,会返回一个data this.http.once(Laya.Event.ERROR,this,this.onError); //数据传输失败后返回 //post数据的写法 console.log(JSON.stringify(request)); this....

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

317. 动效模板(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 43%]

...景编辑器中,如图7所示,(*注意:本例中的button组件在comp目录下*)。 ![图7](img/7.png) (图7) **步骤二**:将制作的缩放动效模板(scale.efc)拖拽到Button组件下,如动画8所示。 ![图8](img/8.gif)(图8) **步骤三**:为实现居中缩放效...

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

318. 微信关系链:LayaAir引擎针对微信小游戏好友关系链实现方案 [ 42%]

...ginLoad():void { //加载引擎需要的资源 Laya.loader.load("res/atlas/comp.atlas", Handler.create(this, onLoaded)); } private function onLoad2():void { Laya.timer.once(2000, this, onLoaded); } private function onLoaded():void { //实例UI界面 //var testView:TestView = new TestView(); //Laya.s...

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

319. 分享:List相关(Item增删功能) [ 42%]

...c"; //加载界面需要的资源文件 Laya.loader.load([{url: "res/atlas/comp.json", type: Loader.ATLAS}], Handler.create(this, onLoaded)); } private function onLoaded():void { //实例UI界面 listP = new ListPageUI(); Laya.stage.addChild(listP); Laya.timer.once(1000,this,onAdd);//1000毫秒后...

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

320. 在微信小游戏中,主域中显示开发域的list为什么显示不全? [ 41%]

...NAME_VERSION);  function beginLoad(){     Laya.loader.load("res/atlas/comp.atlas", Laya.Handler.create(null, onLoaded)); }*/  function updateItem(cell, index) { cell.setImg(cell.dataSource); }  function onLoaded(): void {      var rankList = new Laya.List();      //rankList.scrollBa...

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