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

大约有 507 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0050 秒)

341. ProgressBar属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 49%]

...码来设置,上述示例演示了如何通过代码创建不同皮肤(样式)的ProgressBar,有兴趣的读者可以自己通过代码设置ProgressBar,创建出符合自己需要的进度条。 **示例代码:** ```javascript module laya { import Stage = Laya.Stage; import ProgressBar ...

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

342. Cannot read property 'call' of undefined [ 49%]

...报错 Uncaught Can not find scene:GameView.scene undefined 鼠标自定义样式官方有支持吗,Laya.Mouse.hide()会报Uncaught TypeError: Cannot read property 'cursor' of undefined错误 Cannot read property 'displayObject' of null Laya2.1.0 JS调用Java PlatformClass undefined [TMA][ERROR][R...

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

343. 【字节小游戏】游戏中播放视频 [ 49%]

...ya.Browser.document.body.appendChild(videoElement); // 设置Video元素地样式和属性 videoElement.style.zInddex = Laya.Render.canvas.style.zIndex + 1; videoElement.src = "../../res/av/mov_bbb.mp4"; videoElement.controls = true; // 阻止IOS视频全屏 videoElement.setAttribute("webkit-playsin...

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

344. 怎么获取手机相册内容 [ 49%]

... var file:Object = Browser.document.createElement("input"); //设置file的样式 file.style="filter:alpha(opacity=0);opacity:0;width: 150px;height:60px;"; file.type ="file";//设置类型是file类型。 file.accept="image/png";//设置文件的格式为png; file.style.position ="absolute"; file....

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

345. Laya.ani 库勾选但报 laya.ani.swf.MovieClip undefined [ 49%]

...ive2 打包android平台 报错 btCollisionObject undefined 鼠标自定义样式官方有支持吗,Laya.Mouse.hide()会报Uncaught TypeError: Cannot read property 'cursor' of undefined错误 Uncaught TypeError: Cannot read property 'props' of undefined 运行报错 Uncaught Can not find scene:Gam...

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

346. 请问打包应用如何使用自己的Loading页面,使用html做的Loading页 [ 48%]

...纯色的,不实用我们的项目,需要自定义背景图和进度条样式的 Monica • 2017-05-14 16:44 @a058110356:你重新打开以下这个链接,文档中有说明的 a058110356 • 2017-05-14 16:53 @Monica:这个我看过几次了,可能我没看懂或者漏掉什么,你能详...

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

347. TypeError: Laya.MovieClip is not a constructor [ 48%]

...lowFilter的时候报错: GlowFilter is not a constructor 鼠标自定义样式官方有支持吗,Laya.Mouse.hide()会报Uncaught TypeError: Cannot read property 'cursor' of undefined错误 new Laya.TiledMap()提示错误:Laya.TiledMap is not a constructor TypeError: Cannot set property 'pivot...

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

348. 请教个问题(UI相关):有个区域180*180像素,我想给他弄个边框(2px solid #ccc)或背景色,我要用那个UI组件呢? [ 48%]

...on • 2018-07-02 10:27 @Thylx:panel上面可以画颜色层。。。css的样式不一定都支持的。可以尝试用原生写法画到canvas上。。 Thylx • 2018-07-02 10:50 我说漏了,我是想在设计模式里面弄,而不是代码模式,代码模式我知道可以用sp.graphics.dr...

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

349. Uncaught TypeError: Cannot read property 'regClass' of undefined [ 48%]

...21-09-01 19:02 我只要将这两个文件修改为设置编译语言前的样式就没有问题了,但是每次打开这两个文件都会重新生成

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

350. ProgressBar属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 48%]

...码来设置,上述示例演示了如何通过代码创建不同皮肤(样式)的ProgressBar,有兴趣的读者可以自己通过代码设置ProgressBar,创建出符合自己需要的进度条。 **示例代码:** ```javascript package { import laya.display.Stage; import laya.ui.Progress...

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