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

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

141. HttpRequest详解(JavaScript-LayaAir基础篇(JS)-数据与通信) [ 37%]

...eout = 10000;//设置超时时间; xhr.once(Event.COMPLETE,this,completeHandler); xhr.once(Event.ERROR,this,errorHandler); xhr.on(Event.PROGRESS,this,processHandler); xhr.send("res/data.data","","get","text"); function processHandler(data){ console.log(data); } function errorHandler(data){ } funct...

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

142. HttpRequest详解(TypeScript-LayaAir基础篇(TS)-数据与通信) [ 37%]

...;//设置超时时间; xhr.once(Laya.Event.COMPLETE, this, this.completeHandler); xhr.once(Laya.Event.ERROR, this, this.errorHandler); xhr.on(Laya.Event.PROGRESS, this, this.processHandler); xhr.send("res/data.data", "", "get", "text"); console.log("aaaa"); } private processHandler(data:any): void...

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

143. HttpRequest详解(ActionScript-LayaAir基础篇(AS3)-数据与通信) [ 36%]

...eout = 10000;//设置超时时间; xhr.once(Event.COMPLETE,this,completeHandler); xhr.once(Event.ERROR,this,errorHandler); xhr.on(Event.PROGRESS,this,processHandler); xhr.send("res/data.data","","get","text"); } private function processHandler(data:Object):void { trace(data); } private function co...

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

144. 如何使用vscode编译laya项目 [ 36%]

...Debugger listening on port 48982. Warning: This is an experimental feature and could change at any time. laya_ide_time.require.single.gulp-util: 7.87ms gulp.js:8 laya_ide_time.require.single.pretty-hrtime: 2.2ms gulp.js:8 laya_ide_time.require.single.chalk: 10.4ms gulp.js:8 laya_ide_time.require.sin...

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

145. [LayaNative3]2d示例程序构建发布打包后,在OpenHarmony运行闪退 [ 35%]

...ter SDK version. Please make sure the corresponding .d.ts file is provided and the napis are correctly declared. WARN: ArkTS:WARN File: /Users/HonestQiao/Documents/Laya/LayaProject1/release/harmony/LayaProject1/libSysCapabilities/src/main/ets/system/sound/SoundUtils.ts:3:18 Currently module for 'lib...

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

146. 构建apk后,java报错 [ 30%]

...ward; package null had UID -1     java.lang.Throwable         at com.android.server.pm.PackageDexOptimizer.performDexOptLI(PackageDexOptimizer.java:149)         at com.android.server.pm.PackageDexOptimizer.performDexOpt(PackageDexOptimizer.java:125)         at com.android.server.pm.Pac...

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

147. app构建IOS包 进入游戏提示加载游戏失败,可能由于你的网络不稳定,请退出重进 [ 30%]

...in both /System/Library/Frameworks/JavaScriptCore.framework/JavaScriptCore and /var/containers/Bundle/Application/2CBB02B7-1D05-4CF4-A68D-59337C781979/ZhuaWawa.app/ZhuaWawa. One of the two will be used. Which one is undefined. 2018-01-09 20:50:15.068 ZhuaWawa[2531:1863752] 当前应用软件版本:2...

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

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

...://layabox.com/"; qrcode.makeCode(url); Laya.stage.once("click",this,clickHandler); qrcodeSp = new Sprite(); Laya.stage.addChild(qrcodeSp); } private function clickHandler():void { var url:String = qrcode._oDrawing._elImage.src;//获取,注意这里是异步的,开发者可以加个延时在获...

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

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

....com/"; this.qrcode.makeCode(url); Laya.stage.once("click",this,this.clickHandler); this.qrcodeSp = new Laya.Sprite(); Laya.stage.addChild(this.qrcodeSp); 编译运行上面的代码,然后点击舞台可以看到,二维码已经显示到了舞台上,可以用手机扫下,发现手机已经...

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

150. 微信小游戏中不能加载proto文件 [ 28%]

... (function () { var Loader = Laya.Loader; var Browser = Laya.Browser; var Handler = Laya.Handler; console.log("!____________________________________")  var ProtoBuf = Browser.window.protobuf;  // Laya.init(550, 400);  ProtoBuf.load("res/protobuf/Login.proto", onAssetsLoaded);  function onAssetsL...

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