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

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

471. Ignored attempt to cancel a touchmove event with cancelable=false [ 54%]

...解决 Ignored attempt to cancel a touchmove event with cancelable=false, for example because scrolling is in progress and cannot be interrupted. 附件 : --> 2020-05-12 添加评论 悬赏 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复...

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

472. 如何获取HTMLDivElement对象的文本值 [ 54%]

...          var tHTMLElement:HTMLElement;                 for(var i:int = 0,n:int = _html._childs.length;i < n;i++)                 {                     tHTMLElement = _html.getChildAt(i) as HTMLElement;                     if(tHTMLEleme...

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

473. GL ERROR :GL_INVALID_OPERATION [ 54%]

GL ERROR :GL_INVALID_OPERATION 有时会报这个错 [.Offscreen-For-WebGL-120AECC8]GL ERROR :GL_INVALID_OPERATION : glDrawElements: Source and destination textures of the draw are the same. 百度了一下,是webgl底层报出来的,不知道这怎么解决?   2017-10-10 添...

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

474. Tween回调方法里如何带参数? [ 54%]

...-06-08 0 0 分享 微博 QZONE 微信 ohkei - as3、as2、h5 赞同来自: for (var i:int = 1; i <= 2;i++ ){ var sp:Sprite=new Sprite(); sp.graphics.drawRect(0,0,100,100,"#FF0000"); Laya.stage.addChild(sp); Tween.to(sp,{x:300,y:300,alpha:0.5},1000,null,Handler.create(this,function():void {   ...

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

475. bind函数的作用 [ 54%]

...], this.onProtoLoaded.bind(this)); a15715740412 • 2018-01-30 16:31 /** * For a given function, creates a bound function that has the same body as the original function. * The this object of the bound function is associated with the specified object, and has the specified initial parameters. * @par...

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

476. 小游戏安卓不支持filters [ 54%]

...动去绘制线条 下面是部分代码 this.cutLayer.graphics.clear(); for(i = this.lines.length - 1; i >= 0; i--){ var line = this.lines[i]; line.state++; if(line.state > 7){ this.lines.splice(i, 1); } this.cutLayer.graphics.drawLine(line.x1, line.y1, line.x2, line.y2, "#ffffff", this.lineB...

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

477. list 滑动问题 [ 54%]

... 滑动问题 我在UI界面添加了一个list 控件,然后在代码里for循环加载了其它的图片,添加在list上。。然后运行的时候发现不能滑动。。这样写有什么问题吗?是不是还要控制list里面的一些属性啊? 2017-09-22 添加评论 免费帖 --> ...

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

478. 我的玩一玩打包报错,只要是有“<”就报错 [ 54%]

...报错,只要是有“&lt;”就报错 index编码是utf-8  我试验了for 循环 while循环 和if语句 只要是有“&lt;”,"&lt;"后面的变量或者值就会报错 我的IDE版本1.7.18   附件 : --> 2018-04-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...

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

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

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

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

480. 请问如何获取UI页面上的元素列表,不通过var名称一个个获取 [ 54%]

...不通过var名称一个个获取。如as里有this.numChildren,然后用for可以一个个循环出来。那我在Js里有var indexView = new IndexUI(), indexView.numChildren或者indexView.childs,有这样类似的使用吗? 2017-08-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...

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