大约有 1,237 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0055 秒)
Laya_社区(706) Laya_示例(137) Laya2.0_文档(123) Laya2.0_示例(116) Laya3.0_文档(76) Laya3.0_api(39) laya_api(29) Laya2.0_api(11)
... 已邀请: 与内容相关的链接 提交 4 个回复 赞同来自: private applk(listNode: Laya.List, listData) { var data: any[] = []; listData.sort(function () { return 0.5 - Math.random(); }); listData.map((item, index) => { var hotShow: boolean = false; var newShow: boolean = false;...
来源: Laya_社区 发布时间: 20200805
...send("https://ask.layabox.com/static ... ot%3B, "", "get", "arraybuffer"); private completeHandler(data: ArrayBuffer) { //请问怎么把这个arraybuffer作为图片显示出来 } 2018-10-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...
来源: Laya_社区 发布时间: 20181010
...und.on(Laya.Event.ERROR,this,this.loadcom_f); bg_sound.load("res/bg.mp3"); private loadcom_f(e:Laya.Event):void{ console.log("------------------=============") }可是这么写了一户,发现loadcom_f根本就没有被调用,还希望各位能指点一二!!! 谢谢!!! 2016-08-05 添...
来源: Laya_社区 发布时间: 20160805
....fontSize = 50; txt.on("click", this, onFunc); Laya.stage.addChild(txt); } private function onFunc(e:Event):void { var arr:Array = e.touches; console.log("e.touchId="+e.touchId); console.log("arr[0]"+arr[0]); } } } 输出为: 不明白touches属性数组里面存储的什么类型的数...
来源: Laya_社区 发布时间: 20170519
...rl, type: Laya.Loader.ATLAS }],Laya.Handler.create(this,this.Loa,null)); } private Loa():void { console.log("在又有意义有意义有意义有意义有意义有意义有意义有意义"); } public ClearImg(url:string):void { Laya.Loader.clearRes(url); } 2018-01-09 添加评论 免费帖 --> 分...
来源: Laya_社区 发布时间: 20180109
...有些斜。 mc.rotation=30; Laya.timer.frameLoop(1,this,onLoop); private function onLoop():void { mc.rotation-=5; if(mc.rotation<=0) { Laya.timer.clear(this,onLoop); mc.rotation=0; } } 所以,mc.rotation=0时是有误...
来源: Laya_社区 发布时间: 20171228
...Arr,Handler.create(this,this.onLoaded)); } private function onLoaded():void{ //显示界面 var gameView:GameView = new GameView(); Laya.stage.addChild(gameView); } } ...
来源: Laya_社区 发布时间: 20180106
...onstructor() { console.log("加载ScaleButton"); } private _owner: any; public set owner(o: laya.display.Sprite) { this._owner = o; console.log("设置owner"); } public get owner(): laya.display.Sprite { return this._owner...
来源: Laya_社区 发布时间: 20170601
... 1).duration(100).userData({ prop: "xx" }).then(this.onComplete, this); private onComplete(tweener: Laya.ITweener): void { console.log(tweener.userData); } 2025-09-19 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 荣rong 相关问题...
来源: Laya_社区 发布时间: 20250919
list控件内字体大小设置无效 private function updateItem(cell:Box, index:int):void{ var itemImg:Image=cell.getChildByName("itemImg") as Image; var itemName:Label=cell.getChildByName("itemName") as Label; itemImg.skin=cell.dataSource.image_url; itemName.width=Number(itemName.text.length*2...
来源: Laya_社区 发布时间: 20170829