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

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

101. 关于HttpRequest报错问题 [ 71%]

...essHandler); function onHttpRequestComplete(e){ }; function processHandler(data){ console.log(data); }; function errorHandler(data){ }; xmlHttp.send("http://","","post","text"); 2018-02-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...

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

102. 网络通信 · LayaAir3文档 · LAYABOX [ 71%]

... URL 与包含脚本的文本具有相同的主机名和端口。 * @param data (default = null)发送的数据。 * @param method (default = "get")用于请求的 HTTP 方法。值包括 "get"、"post"、"head"。 * @param responseType (default = "text")Web 服务器的响应类型,可设置为 "...

来源: Laya3.0_文档 发布时间: 20250104

103. LayaAir和原生DOM交互(ActionScript-2D进阶篇(AS3)-扩展模块) [ 71%]

...我们看下简单的脚本怎么实现这种效果。 ```javascript var data = '' + '' + '' + 'I like ' + '' + 'cheese' + '' + '' + ''; var DOMURL = window.URL || window.webkitURL || window; var img = new Image(); var svg = new Blob([data], {type: 'image/svg+xml'}); var url = DOMURL.createObjectURL...

来源: Laya2.0_文档 发布时间: 20210715

104. 打包安卓微端app, 在模拟器上无法运行,,,,,, [ 71%]

...ketTest@4a7f7fe0 11-15 14:08:16.673: D/dalvikvm(1879): Trying to load lib /data/app-lib/com.hmjlbH5.xianhao-1/liblayaair.so 0x94ff75b8 11-15 14:08:17.053: A/libc(1879): Fatal signal 11 (SIGSEGV) at 0xdead0000 (code=1), thread 1879 (hmjlbH5.xianhao)   2017-11-15 添加评论 免费帖 --> 分享 微...

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

105. XMLRequest在layaNative下请求崩溃,请求官方协助! [ 71%]

...yaNative下请求崩溃,请求官方协助!  public post(url: string, data: any, callback: (this: void, data: JSON) => void): void {         let hr = new Laya.HttpRequest();         hr.once(Laya.Event.COMPLETE, this, (e: any): void => {             callback(JSON.parse(hr.dat...

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

106. Laya.HttpRequest 没有调用回调方法? [ 71%]

...hr.send("https://www.baidu.com/","","get","text"); function processHandler(data){ console.log(data); console.log("1111"); } function errorHandler(data){ console.log("2222"); } function completeHandler(e){ console.log("3333"); } 2018-08-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...

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

107. 和原生Dom交互 · LayaAir3.3 · 引擎文档 · LAYABOX [ 70%]

...效果。下面我们看下简单的脚本怎么实现这种效果。 var data = '<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200">' + '<foreignObject width="100%" height="100%">' + '<div xmlns="http://www.w3.org/1999/xhtml" style="font-size:40px">' + '<em>I&l...

来源: Laya3.0_文档 发布时间: 20251010

108. 官方的示例贴上来,怎么没反映啊 [ 70%]

....weixin.qq.com/cgi- ... ot%3B, "", "get", "text"); function processHandler(data) { console.log(data); } function errorHandler(data) { alert(2); } function completeHandler(e) { alert(1); } } Laya.class(JiHuo, "ui.JiHuo", _super); return JiHuo; })(ui.JiHuoUI); 2018-04-19 添加评论 免费帖 --> 分...

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

109. HttpRequest感觉没有发成功 [ 70%]

...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

110. 版本管理swf找同名的Json文件发现找不到 [ 69%]

...}         //初始化预加载数据         public m_initData(url:string,atlas:boolean,atlasPath?:string){             (atlas===void 0)&& (atlas=false);             this['_url']=url=Laya.URL.formatURL(url);             if(atlas)this['_atla...

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