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

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

91. 求HTTP相关的文档或者例子谢谢了 [ 75%]

...this.publicloader=new URLLoader();             this.publicloader.dataFormat=/*iflash.net.URLLoaderDataFormat.VARIABLES*/"variables";             this.publicloader.addEventListener(/*iflash.events.Event.COMPLETE*/"complete",BIND$(this,this.checkListComp));             this....

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

92. 使用UrlLoader加载图片,flash获取data为byteArray,翻译成h5后data为image[ 74%]

使用UrlLoader加载图片,flash获取data为byteArray,翻译成h5后data为image? package { import flash.display.Bitmap; import flash.display.Loader; import flash.display.Sprite; import flash.events.Event; import flash.net.URLLoader; import flash.net.URLLoaderDataFormat; import flash.net.UR...

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

93. 背景音乐来回切换报错 [ 74%]

...ed, try LegacySniffFFMPEG 07-16 13:28:21.322 172-474/? E/FFmpegExtractor: /data/data/com.layabox.game/LayaCache/appCache/9ea141a6/18ac4122_dreams.mp3: avformat_open_input failed, err:Permission denied 07-16 13:28:21.322 1331-1331/com.layabox.game E/MediaPlayer: Should have subtitle controller alread...

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

94. 构建apk后,java报错 [ 74%]

...java:46) 2018-11-26 18:31:46.768 1058-8332/? E/installd: Failed to delete /data/app/vmdl1103043841.tmp: No such file or directory 2018-11-26 18:31:46.806 1811-1811/? E/PhoneInterfaceManager: [PhoneIntfMgr] getCarrierPackageNamesForIntent: No UICC 2018-11-26 18:31:46.807 1811-1811/? E/PhoneInterfaceM...

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

95. 各位大佬,帮我看看 tiledMap 中获取不到自定义属性 [ 74%]

...r.getLayerProperties(0, 44, "isCanPass");  // var tileY = mapLayer.getTileDataByScreenPos(screenX, screenY); // var data = this.tiledMap.getLayerByIndex(3).getTileData(tileX, tileY); // console.log(data) // console.log(Laya.Keyboard.RIGHT) switch (e.keyCode) { //右边 case 39: { this.player.x += 1...

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

96. LayaNative中加载自己缓存的资源 [ 74%]

...mplete.runWith(cachepath); } else { onError && onError.runWith("no data"); } }; // fr.onprogress = onprog; fr.onerror = function(e):void{ onError && onError.runWith(e); }; fr.readAsArrayBuffer(f); } else { onComplete && onComplete.runWith(url); } }上面的代码是下载,...

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

97. 关于HttpRequest [ 74%]

...og(e); }); hr.once(Laya.Event.COMPLETE, this, function () { console.log(hr.data); }); hr.once(Laya.Event.ERROR, this, function (e) { console.log(e); }); hr.send('http://stone.tt.be-xx.com/git/test.php', s, 'post', 'text'); Log.trace(s);   怎么转 我这样转的 但是后端收到的数据感觉...

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

98. http无响应 [ 73%]

...nction onHttpRequestComplete(e) { this.aaaa.text += "收到数据:" + hr.data; } Laya.class(LoginView,"LoginView",_super); //设置继承关系 //初始化函数 LoginView.prototype.init = function () { //监听登录按钮按下事件 this.login.on(Laya.Event.CLICK,this,this.onButtonLogin); //忘...

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

99. Templet资源删除不掉 [ 73%]

...ure:Texture = Loader.getRes("res/Dragon.png");             // var data:ArrayBuffer = Loader.getRes("res/Dragon.sk");             factory = new Templet();             factory.on(Event.COMPLETE, this, onSkeletonDataParsed); //            factory.on(Event.ERROR, this...

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

100. UI-RefreshList [ 72%]

...ender = ItemBox; this.refreshList.vScrollBarSkin = ""; // 创建数据 var data = this.createData(9, "初始数据"); this.refreshList.array = data; // 添加事件监听 this.refreshList.on(Event.MOUSE_UP, this, this.stageOnMouseUp); this.refreshList.on(Event.MOUSE_OUT, this, this.stageOnMouseUp); ...

来源: Laya2.0_示例 发布时间: 20251130