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

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

171. HttpRequest提示oauth_callback is not a valid HTTP header field name [ 52%]

HttpRequest提示oauth_callback is not a valid HTTP header field name arr.push(["oauth_callback","回调网址"]);把arr作为send的最后一个参数,总是提醒oauth_callback is not a valid HTTP header field name,是哪里写错了吗 2018-04-03 添加评论 免费帖 --> 分享 微博 QZON...

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

172. 教你微信小游戏使用服务端gzip数据。 [ 52%]

...t16Array(pakoData);   uintArray.forEach(function (byte) {     converted.push(String.fromCharCode(byte))   })   return decodeUTF8(pakoData, toType); } 以上真机测试通过,不喜勿喷,喜欢的分享一下呗,如果要了解更多(服务端处理),欢迎访问 :微拎录 2019-...

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

173. List遍历问题,疑似是BUG(修改:确定是BUG)技术人员希望看一下! [ 52%]

...: 已经找到问题所在,Text在List里面找到对象是无法通过Push来更改属性的!希望技术解决一下这个BUG!!!!!!! 2017-12-12 0 0 分享 微博 QZONE 微信 wudi199553 赞同来自: 好的,我们证实一下,如果问题存在,后续会进行修复 2017-12...

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

174. 关于mouseThough=true的问题 [ 52%]

...s,onLater); // trace(Laya.timer.toString()); var assets:Array = []; assets.push({url:[ "fish_6.png" ],type:Loader.IMAGE}); Laya.loader.load(assets,Handler.create(this,onLoaded)); } private function onLoaded():void{ var img:Image = new Image("fish_6.png"); img.on(Event.CLICK,this,...

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

175. layaair1.7.9 beta版,给图片加上颜色滤镜,效果有问题 [ 52%]

...a.stage.addChild(spr); spr.x = 300; spr.y = 100; var color:Array = ; color.push( 0, 0, 0, 0, 255, 0, 0, 0, 0, 255, 0, 0, 0, 0, 255, 0, 0, 0, 1, 0); var filter:ColorFilter = new ColorFilter(color); spr.filters = [filter];   附件 : --> 2017-08-25 添加评论 免费帖 --> 分享 微博 QZONE 微...

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

176. 为什么list的datasoure赋值之后不能滑动 [ 52%]

...是我放到自己项目中; for(var i =0 ;i < 10 ; i++) { score_data.push({ju_num:{text:i},score1:{text : i}}); } this.score_list.dataSource = score_data; this.score_list.vScrollBarSkin = "";(如果不加滚动条,是能显示出来值;但是加了这句后 就没有内容了...

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

177. 刚体贴图调用问题 [ 52%]

...r[i].x, bodyLocationArr[i].y, 50,Options); this.boxBody = []; this.boxBody.push(bodyA); var img1 = new Laya.Sprite(); img1.loadImage("../xxxx.png",0,0,100,100); var img2 = new Laya.Image(); img1.addChildAt(img2,0); var img3 = new Laya.Image(); img1.addChildAt(img3,1); bodyA.layaSprite = img1; bodyA....

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

178. http请求接口时,app闪退。这是http请求的一个demo 哪位大佬帮看一下 [ 51%]

...tpRequest, call:Laya.Handler):void { call.runWith(hr.data); Http._requests.push(hr); } 2019-06-10 0 1 分享 微博 QZONE 微信 1560063291用户 赞同来自: 已解决,联系我 xyz 2019-06-10 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定,...

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

179. ios load后 声音播放问题 [ 51%]

ios load后 声音播放问题 var resurls = []; resurls.push({url:"http://192.168.6.132:8900/bin/comp/tap.mp3",type:Laya.Loader.SOUND});Laya.loader.load(resurls, Handler.create(this, onLoaded), Handler.create(this, onLoading, null, false)); function onLoaded(){ console.log(Laya.loader.getRes(src))...

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

180. 官方示例图集路径无法加载 [ 51%]

...[];     for (let i: number = 0; i < len; i++) {         aniFrames.push("resources/UI/role/atlasAni2/139x/" + name + i + ".png");     }     Laya.Animation.createFrames(aniFrames, name); }   资源位置   报错信息 Failed to load http://localhost:18091/resourc ... 3.png 2023-07-10 0...

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