大约有 1,758 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0060 秒)
Laya_社区(1080) Laya3.0_api(672) Laya2.0_文档(2) Laya_示例(1) Laya3.0_文档(1) Laya2.0_api(1) Laya2.0_示例(1)
...建 Parameters url: string Returns boolean off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删...
来源: Laya3.0_api 发布时间: 20231115
...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
...ne3D.load("LayaScene_Main/Conventional/Main.ls", Laya.Handler.create(null, function(scene:Laya.Scene3D):void { Laya.stage.addChild(scene) as Laya.Scene3D; var camera:Laya.Camera = scene.getChildByName("Main Camera") as Laya.Camera; //camera.addComponent(CameraMoveScript); })); 2019-03-08 添加评...
来源: Laya_社区 发布时间: 20190308
...删掉所有的声音channel */ __proto._onAniSoundStoped=function(force){ var _channel; for (var len=this._soundChannelArr.length,i=0;i < len;i++){ _channel=this._soundChannelArr; if (_channel.isStopp...
来源: Laya_社区 发布时间: 20190827
...歌chrom96版本滤镜报错 导微信小程序报错window.focus is not a function laya2 发布微信开放域工程,用微信开发者工具打开报错 Laya使用fairygui的富文本xml解析报错 小游戏项目 加载有中文的json文件 报错 问题状态 最新活动: 2023-07-06 16:44 ...
来源: Laya_社区 发布时间: 20230703
... laya.utils.Browser; import laya.utils.Handler; public class Test { public function Test() { Laya.init(550,400); Laya.stage.bgColor="#EEFFCC"; Laya.loader.load("hu.ttf",Handler.create(this,onLoaded),null,Loader.BUFFER); } private function onLoaded():void { var arr:ArrayBuffer=Laya.loader.getRes("hu....
来源: Laya_社区 发布时间: 20161219
...建 Parameters url: string Returns boolean off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删...
来源: Laya3.0_api 发布时间: 20231115
... use the 'new' operator, this DOM object constructor cannot be called as a function." 2018-01-08 0 0 分享 微博 QZONE 微信 fool_tiger 赞同来自: 还要在index.html中写啊,我以为在as3脚本里写就行了? 2018-01-08 0 1 分享 微博 QZONE 微信 fool_tiger 赞同来自: 可以调...
来源: Laya_社区 发布时间: 20180108
...晰的解决方法! gameThirdScriptError t.getElementsByTagName is not a function TypeError: t.getElementsByTagName is not a function at t.e.parseFont (http://127.0.0.1:63921/game/code.js:1:12413) at e.s.onLoaded (http://127.0.0.1:63921/game/code.js:1:176642) at e.u (http://127.0...
来源: Laya_社区 发布时间: 20180530
...使用缓动类Tween报错 代码如下 var Tww = laya.utils.Tween; to0(); function to0() { Tww.to(this.lis, { alpha: 0.5 }, 500, null, Handler.create(this, to1)); } function to1() { Tww.to(this.lis, { alpha: 1 }, 500, null, Handler.create(this, to0)); } 在AS中是没有问题的。 2018-05-24 添...
来源: Laya_社区 发布时间: 20180524