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

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

1. request failed status:0 text: IOS HttpRequest [ 100%]

request failed status:0 text: IOS HttpRequest var data = { rechargeId:"1", consumerId:"533", } alert(JSON.stringify(data)); hr = new HttpRequest(); hr.once(Event.PROGRESS, this, onHttpRequestProgress); hr.once(Event.COMPLETE, this, onHttpRequestComplete); hr.once(Event.ERROR, this, onHttpRequestErr...

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

2. http无响应 [ 98%]

...19/index.php/Tgy/tgyPost', 'username=c11111&password=888888', 'post', 'text'); } function onHttpRequestError(e) { console.log(e); } function onHttpRequestProgress(e) { console.log(e) } function onHttpRequestComplete(e) { this.aaaa.text += "收到数据:" + hr.data; } Laya.class(LoginView,"Logi...

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

3. web和微信端没有问题,打包成apk后 httprequest报Request failed Status:404 text:undefined [ 92%]

...端没有问题,打包成apk后 httprequest报Request failed Status:404 text:undefined 现象是消息没发出去 超时 资源可以正常下载  麻烦大大帮忙看下吧 2020-06-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...

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

4. 多次调用Laya.timer.once后面函数的调用延迟时间是不是会叠加 [ 90%]

...,怎么调用微信小程序API 骨骼动画播放完后的回调时间 Text类中竟然没有pos函数的api~ 关于逻辑贞更新间隔机制、时间和其他一些Timer相关的问题 laya.d3.utils.Utils3D的convert3DCoordTo2DScreenCoord这个接口api描述是不是错了? List滑动条会...

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

5. iOS wkWebView [ 89%]

...ror); this.hr.send('http://tdev.sanguoh5.com:8001/?r=h.a.a', null, 'get', 'text'); }  private onHttpRequestError(e: any): void { console.log("error==>"+e); }  private onHttpRequestProgress(e: any): void { console.log("progress==>"+e); }  private onHttpRequestComplete(e: any): void { console...

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

6. HttpRequest感觉没有发成功 [ 87%]

....PROGRESS,this,processHandler); xhr.send("https://www.baidu.com","","get","text"); function processHandler(data){ console.log(data); console.log("processHandler"); } function errorHandler(data){ console.log("errorHandler"); } function completeHandler(e){ console.log("completeHandler"); } 2018-08-27 ...

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

7. Handler.create的回收问题 [ 82%]

...为什么结果是false? module laya { import Stage = Laya.Stage; import Text = Laya.Text; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Test { private h1: Laya.Handler; private h2: Laya.Handler; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.cli...

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

8. LayaAir下TTF字体的使用方式? [ 79%]

...代码如下:package { import laya.display.Sprite; import laya.display.Text; import laya.ui.Image; import laya.webgl.WebGL; public class TTFTest { public function TTFTest() { Laya.init(550,400); var sp:Image=new Image(); sp.loadImage("2.png"); Laya.stage.addChild(sp); var text:Text=new Text(); tex...

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

9. 关于HttpRequest [ 79%]

....log(e); }); hr.send('http://stone.tt.be-xx.com/git/test.php', s, 'post', 'text'); Log.trace(s);   怎么转 我这样转的 但是后端收到的数据感觉不对呢 具体看图     2017-06-28 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁...

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

10. Laya.loader.load 教程代码出错 [ 77%]

...教程代码出错            package {     import laya.display.Text;     import laya.display.Sprite;     import laya.utils.Handler;     import laya.resource.Texture;     public class LayaSample {         private var img:Sprite ;         private var index:i...

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