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

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

41. Laya下怎么实现复制 [ 85%]

...me markup --> <div>hello world</div> <button class="btn" data-clipboard-action="copy" data-clipboard-target="div">Copy</button>  <!-- 2. Include library --> <script src="../src/Frame/ThirdLibs/clipboard.min.js"></script>  <!-- 3. Instantiate clipboar...

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

42. app中嵌入浏览器 [ 84%]

...加速器发消息 window.addEventListener("message",function(e){alert(e.data)}) 监听加速器发来的消息 conch:  window.postMessage({jj:123}); 给iframe发消息 window.addEventListener("message",function(e){alert(e.data)})   监听iframe发来的消息   2018-03-05 0 0 分享 微博 QZONE...

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

43. 截屏文件没有保存 [ 84%]

...ox: i'm here 2:12582912 2048 1536 03-05 19:47:50.534 9306-9431 I/LayaBox: /data/data/xxx//LayaCache//appCache/test.png 2018-03-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 helloworldlv 赞同来自: 你adb进...

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

44. 如何让发布后的H5加载资源用src或href指向本地路径,而不是网络请求 [ 84%]

...licy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.   load(url) {             var me = this;             url = URL.formatURL(url);             this.url = url;             this.audio...

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

45. 排坑:Laya.HttpRequest()无效 [ 83%]

...r.send("http://www.baidu.com", "", "get", "text"); function processHandler(data) { console.log(data); } function errorHandler(data) { console.log(data); } function completeHandler(e) { console.log(e); }下面是运行结果,除了打印出了第一行。 后面的完全没有反应也不报错。 ...

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

46. 3d项目安卓包。部分手机报加载3d资源报错 [ 83%]

...  loader callback cost a long time:183 url=res/3d/monster/Assets/ResourcesData/monster/mon_neilongga/mon_neilongga-walk.lani 08-20 16:53:50.990 309-2557/? E/Fence: Throttling EGL Production: fence 119 didn't signal in 3000 ms 08-20 16:53:51.010 391-391/? E/raw_hw_default: open /dev/block/mmcblk0p34...

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

47. 打包后的APP怎么跳转到网址链接 [ 83%]

...加速器发消息 window.addEventListener("message",function(e){alert(e.data)}) 监听加速器发来的消息 conch:  window.postMessage({jj:123}); 给iframe发消息 window.addEventListener("message",function(e){alert(e.data)});监听iframe发来的消息 2017-12-22 0 1 分享 微博 QZONE 微...

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

48. LayaNative2.0 Lable引发的crash bug(有demo) [ 83%]

...ive2.0 Lable引发的crash bug(有demo) JCFreeTypeFontRender::getTextBitmapData the buffersize is insufficient. E/LayaBox: JS onFrame error I/LayaBox: alert=出错啦,请把此信息截图给研发商     TypeError: Cannot read property 'data' of null     apploader.js:305:     TypeError: Can...

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

49. 项目做了一周.然后打不开了.怎么办? [ 83%]

...ources\app\out\layarepublic\toolbar\extension.js:66 Problem retrieving XML data E:\laya\ide\LayaAirIDE_1.7.15\resources\app\out\codeextension\servicecount\extension.js:3 servicecount extension disabled! Instead of layaEditor/da/extension! 3E:\laya\ide\LayaAirIDE_1.7.15\resources\app\out\codeextensio...

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

50. 关于LayaBox启动的问题。 [ 83%]

...黑屏,这个是抓取的日志如下:I/LayaBox (12689): read index:/data/data/com.klzz.platform/cache//LayaCache//appCache/48a42618/filetable.txt E/LayaBox (12689): read index failed I/LayaBox (12689): Download [ ]:http://192.168.137.1/public/sh ... i.ttf I/LayaBox (12689): >>>>>...

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