大约有 297 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0048 秒)
...e parseComplete():void { this.m_loadedUrlArr.push(this.m_curLoadingUrl); this.buildAmature(); } private buildAmature():void { if(this.m_spineCopmleteFun != null) { ...
来源: Laya_社区 发布时间: 20170801
...c function TestView() { var arr:Array=; for(var i:int=0;i<10;i++) { arr.push({my_clip:i}); } my_list.array=arr; my_list.renderHandler=new Handler(this,onRender); } private function onRender(cell:Box,index:int):void { // TODO Auto Generated method stub var cell:Box=my_list.getCell(index) as Box; v...
来源: Laya_社区 发布时间: 20161030
...享 微博 QZONE 微信 q1402907210 - 你猜猜 赞同来自: 我需要用push直接赋值8个值然后直接赋给List,但是它告诉我找不到资源! 2017-11-30 0 10 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 q1402907210 你猜...
来源: Laya_社区 发布时间: 20171130
...ListView() { super(); var arr:Array=[]; for(var i:int=0;i<95;i++) { arr.push({icon:i,label:"Index"+i}); } boxList.array=arr; boxList.mouseHandler=new Handler(listRender); } private function listRender(e:MouseEvent,index:int):void { // TODO Auto Generated method stub if(e.type==MouseEvent.CLICK) {...
来源: Laya_社区 发布时间: 20151224
...(let i = 1; i < 70; i++) { loadList.push("resources/test/a ("+i+").png"); } let nt = Date.now(); Laya.loader.load( loadList, Laya.Handler.create(this, () => { v...
来源: Laya_社区 发布时间: 20240628
... image:Image = new Image("comp/clip_num.png"); image.size(240, 27); _items.push(image); } _list.array = _items; } protected function renderHandler(cell:Sprite, index:int):void { removeAllChildren(cell); cell.addChild(_items[index]); } protected function removeAllChildren(container:Sprite):void { whi...
来源: Laya_社区 发布时间: 20170323
...ent-type"){ hasContentType = true; break; } } if(!hasContentType){ headers.push("content-type", "application/json"); } req.send(url, body, method, "json", headers); }Net.httpRequest("post","http://xxxx",{a:1},null,cb) 2017-01-23 1 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...
来源: Laya_社区 发布时间: 20170123
...oneArr = [] as any[] ;(instance as any[]).forEach((value) => { cloneArr.push(value) }) return cloneArr.map((value: any) => GameUtils.deepCopy<any>(value)) as any } if (instance instanceof Object) { var copyInstance = {...(instance as { [key: string]: any }), } as { [key: string]: any } f...
来源: Laya_社区 发布时间: 20230625
... = request.response; WebAudioSound.buffs.push({ "buffer": me.data, "url": me.url }); WebAudioSound.decode(); }; request.onerror = function (e) { ...
来源: Laya_社区 发布时间: 20200107
...画资源路径要和动画图集打包前的资源命名对应起来 urls.push("imgs/role/wp116/" + aniName + i + ".png"); } return urls; } } new GameMain(); 2017-12-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回...
来源: Laya_社区 发布时间: 20171228