大约有 417 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0044 秒)
Laya_社区(291) Laya2.0_api(75) Laya3.0_文档(23) Laya2.0_文档(19) laya_api(3) Laya3.0_api(2) Laya2.0_示例(2) Laya_示例(2)
... 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
....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
...加载成功后将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
...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
...一层 比如我的图片在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
...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
...景编辑器中,如图7所示,(*注意:本例中的button组件在comp目录下*)。  (图7) **步骤二**:将制作的缩放动效模板(scale.efc)拖拽到Button组件下,如动画8所示。 (图8) **步骤三**:为实现居中缩放效...
来源: Laya2.0_文档 发布时间: 20210715
...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
...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
...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