大约有 230 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0066 秒)
...e(path, completeCallBack, this.loadProgressCallback, type).on("error",null,function(msg){ console.error("ERROR",msg) }) 2019-06-17 添加评论 悬赏 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 李长忠 赞同来自: 同一个世...
来源: Laya_社区 发布时间: 20190617
...ingContext' "Failed to execute 'texImage2D' on 'WebGLRenderingContext': No function was found that matched the signature provided." 加载3d 模型总是报这个错误,png的图片都无法用,只能改成jpg的,想问一下是什么原因导致的? 附件 : --> 2018-02-05 添加评论 ...
来源: Laya_社区 发布时间: 20180205
...吗? 上下文: /** * @private * 分析文本换行。 */ protected function parseLines(text:String):void { //自动换行和HIDDEN都需要计算换行位置或截断位置 var needWordWrapOrTruncate:Boolean = wordWrap || this.overflow == HIDDEN; if (needWordWrapOrTruncate) { var wordWrapWidt...
来源: Laya_社区 发布时间: 20190213
...var fileReader:any = new Laya.Browser.window.FileReader(); file.onchange = function(e:any):void { if(file.files.length>0) { if(20*1024<file.files[0].size) { console.log("图片大小不能超过20kb!") }else{ fileReader.readAsDataURL(file.files[0]); //转换图片格式为字符编码 } } }; f...
来源: Laya_社区 发布时间: 20190129
...eMessage({xx:123}) 给加速器发消息 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...
来源: Laya_社区 发布时间: 20180305
...: 1058 关注: 2 人 deng2017 • 2017-06-20 14:30 package view { public function alertpp():void { } } 使用flash develop 编译 生成不了该代码 view.alertpp=function(){} cuixueying • 2017-06-20 15:20 不建议这么去写代码,容易出问题,最好还是按照正常的函数写法来...
来源: Laya_社区 发布时间: 20170620
...true, /* Enable strict null checks. */ // "strictFunctionTypes": true, /* Enable strict checking of function types. */ // "strictPropertyInitialization": true, /* Enable strict checking of property initialization in classes. */ // "noImplicitTh...
来源: Laya_社区 发布时间: 20190408
... -h module.js:540 throw err; ^ Error: Cannot find module 'universalify' at Function.Module._resolveFilename (module.js:538:15) at Function.Module._load (module.js:468:25) at Module.require (module.js:587:17) at require (internal/module.js:11:18) at Object.<anonymous> (C:\Users\fp005\AppData\Ro...
来源: Laya_社区 发布时间: 20180505
Laya2.2问题,有没有遇到的? 子域所有代码 (function () { 'use strict'; class GameConfig { constructor() { } static init() { var reg = Laya.ClassUtils.regClass; } } GameConfig.width = 640; GameConfig.height = 1136; GameConfig.scaleMode = "fixedwidth"; GameConfig.screenMode = "none";...
来源: Laya_社区 发布时间: 20200104
...是否已经播放完成? 导微信小程序报错window.focus is not a function 音乐小游戏是怎么实现变速播放的? 小游戏项目 加载有中文的json文件 报错 IDE通过.ui自动生成的ui代码报错 官网示例摇一摇报错,就解决方案 播放声音出错,求指...
来源: Laya_社区 发布时间: 20250718