大约有 262 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0056 秒)
... = Laya.HTMLIframeElement; var iHtml = new HTMLIframeElement(); Laya.stage.addChild(iHtml); iHtml.href="http://www.baidu.com"; 一启动运行就现以下错误 Error processing "variables": TypeError: Cannot read property 'length' of undefined at trimProperty (d:\Program Files\LayaIDE\resources\...
来源: Laya_社区 发布时间: 20171203
... paihangbang.color="#ffffff"; list.addChild(paihangbang); // 使用但隐藏滚动条 list.vScrollBarSkin = ""; list.selectEnable = true; list.selectHandler = new Handler(...
来源: Laya_社区 发布时间: 20210122
... 错误代码: ERROR: Uncaught TypeError: Cannot read property 'addChild' of null, location: /data/user/0/com.vivo.hybrid/app_resource/com.chenxing.vivominigame/jsfile:///C:\Users\74741\AppData\Roaming\Tencent\QQTempSys\OOY5$4OW5H`8`9%(9$)T67M.gifndle.js:0:0 [ERROR] (/opt/...
来源: Laya_社区 发布时间: 20200515
...= 99;//置最顶,这句话不写图层看不见 // info.init(); Laya.stage.addChild(info); } private onLoading(): void { var bj = new BeiJing(); Laya.stage.addChild(bj); } } new GameMain(); 这个是我的UI类,我在这个类里调用GameMain.aaa();提示TypeError: GameMain.aaa is not a functi...
来源: Laya_社区 发布时间: 20180507
...问题 var s:Sprite = new Sprite; s.loadImage("res/soil.png"); Laya.stage.addChild(s); chrome报错:Access to Image at 'file:///E:/study/LayaAirStudy/bin/h5/res/soil.png' from origin 'null' has been blocked by CORS policy: Invalid response. Origin 'null' is therefore not allowed access. 2017-01-16...
来源: Laya_社区 发布时间: 20170116
...top等 Charles • 2017-02-09 10:55 這個動畫不需要控制,只要能addChild和remove即可。我的demo里加載時報找不到圖片,請看看。 Charles • 2017-02-09 11:16 重新又用IDE轉換了一次,沒問題了。 cuixueying • 2017-02-22 20:15 好的,有问题及时沟通!...
来源: Laya_社区 发布时间: 20170208
...3D = new MeshSprite3D(boxMesh); box3D.addComponent(PhysicsCollider); scene.addChild(box3D); 附件 : --> 2019-01-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 131*****361 赞同来自: 找到了,F9导入对...
来源: Laya_社区 发布时间: 20190104
...e(this, function(){ this.scene = Laya.loader.getRes(模型url); Laya.stage.addChild(this.scene); }),null, null, 1, true, "scene1"); 执行后,浏览器报 : laya.core.js:13290 Uncaught TypeError: node._setParent is not a function at Stage.__proto.addChild (laya.core.js:13290) at Main.<anonymo...
来源: Laya_社区 发布时间: 20181208
....regClass('ui.TestPUI', ui.TestPUI) var efc = new ui.TestPUI(); Laya.stage.addChild(efc); } 按照官方文档,运行后报错 Main.js:61 Uncaught ReferenceError: ui is not defined 之前有人提过这个问题,但是一直都没有解答,也有人说要先注册class,但是也是没用的...
来源: Laya_社区 发布时间: 20210111
...着急解决的let input = new Laya.Input() this.changeIDBtn.displayObject.addChild(input) input.y = -200; input.x = -200; input.text = 2000 + "" 附件 : --> 2021-12-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回...
来源: Laya_社区 发布时间: 20211205