大约有 249 项符合查询结果, 库内数据总量为 30,934 项。 (搜索耗时: 0.0044 秒)
Laya_社区(149) Laya2.0_文档(25) Laya3.0_文档(25) laya_api(14) Laya2.0_api(13) Laya3.0_api(11) Laya2.0_示例(8) Laya_示例(4)
...解答 Laya.loader.load( // 资源 [{url:'res/atlas/comp.json',type:Laya.Loader.ATLAS}].concat(loadArr), // 加载完成回调 Laya.Handler.create(null,function(){ var logintest = new loginTestView().init(); Laya.stage.addChild(logintest); }), ...
来源: Laya_社区 发布时间: 20170331
...r(this,onClick); } private function onClick(e:Event,index:int):void { if(e.type==Event.CLICK) { trace("xy:"+list.getCell(index).x,list.getCell(index).y); } }上面的坐标是相对于list本身的,如果你想取得全局坐标可以通过localToGlobal方法来得到。 2016-12-15 1 1 分享 微...
来源: Laya_社区 发布时间: 20161215
... LayaAirIDE下如何使用mask? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 请问2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 预设怎么在代码中使用 问题状态 最新活动: 2017-11-29 20:23 浏览: 2186 关注:...
来源: Laya_社区 发布时间: 20170510
...808) mAppBounds=Rect(0, 0 - 1080, 1808) mWindowingMode=fullscreen mActivityType=undefined} nonFullScreen=0 suim:1 s.29}, config:{1.0 ?mcc?mnc [zh_CN_#Hans] ldltr sw360dp w360dp h578dp 480dpi nrml long port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 1080, 1808) mAppBounds=Rect(0, 0 - 108...
来源: Laya_社区 发布时间: 20190723
... function(data){ console.log(data); }); }); 自己写的html页面 <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> </head> <body> </body> <script type="text/javascript" src="js/jquery-3.1.1.min.js" ></script> <...
来源: Laya_社区 发布时间: 20180509
...us@main.js:2 07-11 16:53:45.927 30921-30972/? E/jswrapper: ERROR: Uncaught TypeError: "event.type" should be a string., location: (no filename):0:0 2019-07-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_XS...
来源: Laya_社区 发布时间: 20190711
...XMLHttpRequest(); xhr.open("get", "res/atlas/comp.png", true); xhr.responseType = "arraybuffer"; xhr.onload = function () { if (this.status == 200) { var blob = new Blob([this.response], { type: "image/png" }); var img = document.createElement("img"); img.onload = function (e) { window.URL.revokeObj...
来源: Laya2.0_文档 发布时间: 20210714
...k has changed 04-18 17:26:51.251 1371-1371/com.etvtech.pvsz I/0: connected type=5 04-18 17:26:51.251 1371-1384/com.etvtech.pvsz E/AndroidRuntime: FATAL EXCEPTION: GLThread 72 Process: com.etvtech.pvsz, PID: 1371 java.lang.RuntimeException: createContext failed: EGL_BAD_ATTRIBUTE ...
来源: Laya_社区 发布时间: 20190418
...XMLHttpRequest(); xhr.open("get", "res/atlas/comp.png", true); xhr.responseType = "arraybuffer"; xhr.onload = function () { if (this.status == 200) { var blob = new Blob([this.response], { type: "image/png" }); var img = document.createElement("img"); img.onload = function (e) { window.URL.revokeObj...
来源: Laya2.0_文档 发布时间: 20210714
...Mouse(e:Event,index:Number):void { // TODO Auto Generated method stub if(e.type==Event.CLICK) { trace("click"); } } 2016-12-02 3 2 分享 微博 QZONE 微信 sunkehappy 赞同来自: @cuixueying 感谢提供方案,不过我还是想多说一句,selectHander最好是应该允许被调用多次吧...
来源: Laya_社区 发布时间: 20161202