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

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

1. 加载的时候动画会卡 [ 100%]

...g.addChild(this.loadLayer);         var imgArr = ;         imgArr.push({url:"cont/cpf1.jpg",type:Loader.IMAGE});         imgArr.push({url:"cont/cpr1.jpg",type:Loader.IMAGE});         imgArr.push({url:"cont/cps1.jpg",type:Loader.IMAGE});         imgArr.push({url:"cont/cpt1.jpg",t...

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

2. swf预加载问题 [ 98%]

...var mc:MovieClip = new MovieClip(); public function BeforLoader() { assets.push(ADDONE); assets.push(BG); assets.push(CDOWNBIN); assets.push(CUOLE); assets.push(CUPBIN); assets.push(CUTONE); assets.push(LOOKDOWNBIN); assets.push(LOOKUPBIN); assets.push(NOMALBIN); assets.push(NUMBAI); assets.push(NUM...

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

3. 绘制平明问题 [ 97%]

...           var path: Array<number> = [];             path.push(0, -130);             path.push(33, -33);             path.push(137, -30);             path.push(55, 32);             path.push(85, 130);             path.push(0, 73);             path...

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

4. List 下的点击事件怎样去写? [ 96%]

...件怎样去写? var data:Array = []; for(var m:int =0;m<1;m++){ data.push({m_label:{text:"快点吧!我等到花儿都谢了"}}); data.push({m_label:{text:"你那啥网啊,也太次了吧!"}}); data.push({m_label:{text:"大家好,欢迎见到大家"}}); data.push({m_label:{text:"都别...

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

5. 绘画圆角矩形的工具,直接用,不用自己去算 [ 95%]

... = null, borderWidth:Number = 0):DrawPathCmd { var paths:Array = []; paths.push(["moveTo", roundRadius, 0]); paths.push(["lineTo", width - roundRadius, 0]); paths.push(["arcTo", width, 0, width, roundRadius, roundRadius]); paths.push(["lineTo", width, height - roundRadius]); paths.push(["arcTo", wid...

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

6. as3数组push进去对象,为什么对象的属性没了 [ 94%]

as3数组push进去对象,为什么对象的属性没了 as3数组push进去对象,为什么对象的属性没了 var rewardVo:ActivityRewardVo = new ActivityRewardVo; rewardVo.rewardID = GameInstance.StandardList[rollNumbers[i]-1].id; rewardVo.rewardCount = GameInstance.StandardList[rollNumber...

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

7. 这是为什么啊?list.push()报错? [ 94%]

这是为什么啊?list.push()报错? 如图 附件 : --> 2019-03-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Dr.钟 赞同来自: push前面加一行: this.aiList = []; 2019-03-15 0 0 分享 微博 Q...

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

8. Laya.list能否存放Sprite? [ 94%]

...网list的例子 : var data = []; for (var i = 0; i < 10; ++i) { data.push("../../res/ui/listskins/1.jpg"); data.push("../../res/ui/listskins/2.jpg"); data.push("../../res/ui/listskins/3.jpg"); data.push("../../res/ui/listskins/4.jpg"); data.push("../../res/ui/listskins/5.jpg"); } list.array = ...

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

9. 编译时提示Cannot read property 'push' of undefined [ 93%]

编译时提示Cannot read property 'push' of undefined 如标题所示,编译时提示Cannot read property 'push' of undefined 不知是什么原因,麻烦帮忙解答一下吧,谢谢 2017-05-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...

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

10. 请问,data里面的属性值,处理在push的时候可以修改.在外面可以直接修改data里面的属性值吗?我尝试了不行!!求指教! [ 92%]

请问,data里面的属性值,处理在push的时候可以修改.在外面可以直接修改data里面的属性值吗?我尝试了不行!!求指教! 附件 : --> 2018-04-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...

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