大约有 2,746 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0067 秒)
Laya_社区(1928) Laya3.0_api(248) Laya2.0_api(162) laya_api(132) Laya_示例(81) Laya2.0_文档(81) Laya2.0_示例(65) Laya3.0_文档(49)
..., onLoadComplete));//加载资源。 } private function onLoadComplete(e:*=null):void { for (var i:int = 0; i < skins.length;++i) { var input:TextInput = createInput(skins[i]); input.prompt = 'Type:'; input.x = (Laya.stage.width - input.width) / 2; input.y = i * SPACING + Y_OFFSET; } } private funct...
来源: Laya_示例 发布时间: 20260303
...ya.loader.load("res/atlas/comp.json", Handler.create(this, onAssetLoaded), null, Loader.ATLAS); //添加UI界面 function onAssetLoaded() { Laya.stage.addChild(new TestUI()); } 附件 : --> ButtonClickDemo.rar 2017-05-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...
来源: Laya_社区 发布时间: 20170513
... Parameters Optional type: string (可选)事件类型,如果值为 null,则移除本对象所有类型的侦听器。 Returns EventDispatcher 此 EventDispatcher 对象。 offAllCaller offAllCaller(caller: any): EventDispatcher Defined in laya/events/EventDispatcher.ts:146 移除caller为ta...
来源: Laya3.0_api 发布时间: 20231115
...ventListener(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.addEventListener(Event.COMPLETE,onSwfLoaded); loader.load(new URLReques...
来源: Laya_社区 发布时间: 20151224
... function () { var textUi = new TextUI(); Laya.stage.addChild(textUi); }), null, Laya.Loader.ATLAS); } } new GameMain(); Test.zip 2018-08-10 0 1 分享 微博 QZONE 微信 Bert 赞同来自: 感觉很简单,不知道难点在哪里 点击后改变状态,重新布局就行 2018-08-10 0 3 分...
来源: Laya_社区 发布时间: 20180810
...ler.create(this, onTextureLoaded)); } private function onTextureLoaded(e:*=null):void { maggotTexture = Laya.loader.getRes(texturePath); initMaggots(); Laya.timer.frameLoop(1, this, animate); } private function initMaggots():void { var maggotContainer:Sprite; for (var i:int = 0; i wb.x + wb.width) x...
来源: Laya_示例 发布时间: 20260303
..., onLoadComplete));//加载资源。 } private function onLoadComplete(e:*=null):void { for (var i:int = 0; i < skins.length;++i) { var input:TextInput = createInput(skins[i]); input.prompt = 'Type:'; input.x = (Laya.stage.width - input.width) / 2; input.y = i * SPACING + Y_OFFSET; } } private funct...
来源: Laya2.0_示例 发布时间: 20260303
...eturn; } this.graphics.drawPie(pos,pos,r,START+(360 - value), 270 , COLOR ,null,0); } private function ef():void { if( TheGame.GetServerTime() > endTime ){ this.stop(); return; } var now:int = ( endTime - TheGame.GetServerTime() )/cdTime * 360; this.set360(now); } public function play(time:int,st...
来源: Laya_社区 发布时间: 20171124
... Laya.loader.load(url, Handler.create(this, byteLoadComplete,[url]),null,Loader.BUFFER); private function byteLoadComplete(url:String):void { var buffer:ArrayBuffer = Laya.loader.getRes(url); var byte:Byte = new Byte(buffer); byte....
来源: Laya_社区 发布时间: 20170417
...getRes获取不到。 Uncaught TypeError: Cannot read property 'load' of null 子域加载资源的时候报错什么原因?laya的load 已经加载完成了 但是微信还是报错。在子域工程 微信小游戏downLoadFile手动缓存的文件存在哪里?后续后续怎么load和getres ...
来源: Laya_社区 发布时间: 20170108