大约有 494 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0039 秒)
...FileReader获取图片数据之后设置laya的image.skin图片不显示 __proto.uploaderHandler=function (files) { var self=this; var file=files[0]; var reader=new FileReader(); reader.onload=function () { ...
来源: Laya_社区 发布时间: 20170808
...res/music/Music_start.mp3") 3. 声音播放完成后,系统抛出异常__proto._tryClearBuffer=function(sourceNode){ try {sourceNode.buffer=WebAudioSound._miniBuffer;}catch (e){WebAudioSoundChannel._tryCleanFailed=true;} } 求解,谢谢 2017-01-05 添加评论 免费帖 --> 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20170105
... } } 直接修改库的话 laya.core.js __proto._setInputMethod=function(){ Input.input.parentElement && (Input.inputContainer.removeChild(Input.input)); Input.area.parentElement && (Input.inputContainer.removeChild(...
来源: Laya_社区 发布时间: 20190816
...Failed to set the 'buffer' property on 'AudioBufferSourceNode'的问题 __proto._tryClearBuffer=function(sourceNode){ // if (!Browser.onMac){ // try{ // sourceNode.buffer=null; // }catch (e){ // WebAudioSoundChannel._tryCleanFailed=true; // } // return; // } try {sourceNode.buffer=WebAudioSound._min...
来源: Laya_社区 发布时间: 20180914
...eckMask和removeSelf的顺序反了,自己改下,laya.ui.js __proto.doClose=function(dialog){ var isModalTmp = dialog.isModal; // dialog.isModal && this._checkMask(); dialog.closeHandler && dialog.closeHandler.runWith(dialog.closeT...
来源: Laya_社区 发布时间: 20180729
...ID *@param name 属性名称 *@return */ __proto.getTileProperties=function(index,id,name){ if (this._tileProperties[index] && this._tileProperties[index][id]){ return this._tileProperties[index][id][name]; ...
来源: Laya_社区 发布时间: 20190218
...s:25407 Uncaught Error: Sprite3D:Node type must Sprite3D. at Scene.__proto.addChild (laya.d3.js:25407) 附件 : --> 2017-10-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 haiboannacom 赞同来自: 第一...
来源: Laya_社区 发布时间: 20171012
...利用删除的item,但是看定义arr上面定义的是局部变量。__proto._createItems = function (startY, numX, numY) { var box = this._content; var cell = this._getOneCell(); var cellWidth = cell.width + this._spaceX; var cellHeight = cell.height + this._spaceY; if (this.cacheContent) { var...
来源: Laya_社区 发布时间: 20180418
.../-----------上面和下面的代码在两个不同的页面------------- _proto.run = function () { this.speed = 1; Laya.timer.frameLoop(1, this, () => { console.log(this.obstacle0.y, Laya.Browser.height); //this.obstacle0是一个精灵对象 this.obstacle0.y += this.speed; if (this.obstacle0.y...
来源: Laya_社区 发布时间: 20180823
...调用DoFunc报错 我现在得到结论 KeyHandler中的this不能指代__proto对象 要使this指代过去,我记得参数中要加个参数才对,麻烦看下是不是转换问题,还是有这种写法 附件 : --> 2017-01-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...
来源: Laya_社区 发布时间: 20170123