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

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

211. OC调用AS [ 57%]

...题 as3中,调用原生js的的时候,如何传递原生JS要用到的document.getElementById的ID过去? [闪退!!!][崩溃!!Crash]LayaNative 2.8.0 js 调用 oc 同步方法,有返回值的时候崩溃 求教 js如何调用图集下的小图 as的看不懂 问题状态 最新活动: 2017-05...

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

212. ide里怎么查找未使用到的图片资源 [ 57%]

...? as3中,调用原生js的的时候,如何传递原生JS要用到的document.getElementById的ID过去? 龙骨发布到浏览器后显示不全,ide显示正常 问题状态 最新活动: 2017-09-23 18:46 浏览: 853 关注: 2 人

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

213. 新建项目报错,求助 [ 57%]

...t\laya2.0.0beta4\LayaAirIDE_beta\resources\app [19:37:56] Using gulpfile ~\Documents\Laya2\test3d\.laya\gulpfile.js [19:37:56] Starting 'default'...  出错了: TypeScript error: ../../../node_modules/@types/node/index.d.ts(26,22): Error TS6053: File '../../../node_modules/@types/node/inspector.d.t...

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

214. 打包成安卓后无法获取部分标签例如script标签 [ 57%]

打包成安卓后无法获取部分标签例如script标签 document.getElementsByTagName('script') 在安卓下返回的是空数组,由于这个原因,导致requirejs无法正确运行   2018-03-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...

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

215. Laya.Accelerator提示"instance"undefined [ 57%]

...null 根据官方教程:FlashBuilder-LayaCompiler-运行提示"must set Document Class!" 问题状态 最新活动: 2018-11-27 14:57 浏览: 1232 关注: 1 人

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

216. "img.viewport is not a function" [ 57%]

...场景 physics3D is not a function 用微信开发者调试的时候出现document.createTextNode is not a function api readFile success callback function undefined 打包小游戏后在开发者工具中报错 CharRender_Canvas.ctx.fillAndStrokeText is not a function Uncaught TypeError: tex.once is...

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

217. 视频播放问题 [ 57%]

... WebGL); var videoElement:Object = Browser.createElement("video"); Browser.document.body.appendChild(videoElement); // 设置Video元素地样式和属性 videoElement.style.zInddex = Render.canvas.style.zIndex + 1; videoElement.src = "http://127.0.0.1/upload/aa.mp4"; videoElement.controls = true; }...

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

218. layaair 1.x最新版本 WEBGL模式截图是黑色 [ 57%]

...本 WEBGL模式截图是黑色 Laya.init(750, 1206, WebGL); var canvas = document.getElementById('layaCanvas'); var dataURL = canvas.toDataURL("image/jpg"); console.log(dataURL ); base64图片是黑色的!!!!!!!!    如果用 Laya.init(750, 1206); 可以显示图片 2019-06-18 添...

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

219. 2.0.1播放声音会报错 [ 57%]

...ror: DOMException: play() failed because the user didn't interact with the document first. https://goo.gl/xX8pDD   这个是报错内容 必现   播放声音代码在 GameUI.ts 里面这句 SoundControl.instance.playBgMusic("normalBg"); 附件 : --> SgGame5.zip 2019-03-30 添加评论 免费帖 -...

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

220. 怎样在一个已有的canvas标签中初始化laya [ 57%]

...回复 trlanfeng 赞同来自: 已找到解决办法。   var parentDiv = document.getElementById("canvasDiv"); Browser.container = parentDiv; Laya.init(...); 2017-02-06 0 0 分享 微博 QZONE 微信 cuixueying 赞同来自: 好的,有问题及时沟通! 2017-02-06 0 0 分享 微博 QZONE 微...

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