大约有 265 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0041 秒)
Laya_社区(195) Laya2.0_文档(22) Laya3.0_文档(12) Laya3.0_api(12) Laya2.0_api(10) laya_api(6) Laya_示例(4) Laya2.0_示例(4)
如何从代码中创建UI,progressbar 我想从代码中创建ProgressBar 1.我直接从图集中,设置skin,会报错 var progressBar=new ProgressBar(); progressBar.skin="commonUI/anniu05a.png" progressBar.pos(100,100); progressBar.value=0.5; Laya.stage.addChild(progressBar); 后台: Failed t...
来源: Laya_社区 发布时间: 20160729
...ic static WID: number = 147; public static HEI: number = 190; private skin_progress_chip:Laya.ProgressBar; private skin_img:Laya.Image; private skin_chipNum:Laya.Text; public skin_btn_use:Laya.Image; private skin_lock:Laya.Image; private skin_inUse:Laya.Image; constructor(){ super(); this.size(Item....
来源: Laya_社区 发布时间: 20180828
...StageScaleMode; import flash.events.Event; import flash.events.ProgressEvent; import flash.events.TimerEvent; import flash.external.ExternalInterface; import flash.text.TextField; import flash.text.TextFieldAutoSize; import flash.text.TextFormat; impor...
来源: Laya_社区 发布时间: 20200217
...,错误事件等 /** * 请求进度改变时调度。 * @eventType Event.PROGRESS * */ /*[Event(name = "progress", type = "laya.events.Event")]*/ /** * 请求结束后调度。 * @eventType Event.COMPLETE * */ /*[Event(name = "complete", type = "laya.events.Event")]*/ /** * 请求出错时调度...
来源: Laya3.0_文档 发布时间: 20241014
... } }) loadTask.onProgressUpdate(res => { console.log('下载进度', res.progress) console.log('已经下载的数据长度', res.totalBytesWritten) console.log('预...
来源: Laya_社区 发布时间: 20190514
...) { console.log("starConnection"); conn=new HttpRequest(); conn.once(Event.PROGRESS, this, onHttpRequestProgress); conn.once(Event.COMPLETE, this, onHttpRequestComplete); conn.once(Event.ERROR, this, onHttpRequestError); var buffBody=new Byte(); buffBody.endian=Byte.BIG_ENDIAN; buffBody.writeInt32(9...
来源: Laya_社区 发布时间: 20160726
...dlg; } function connect() { var hr = new Laya.HttpRequest(); hr.once(Event.PROGRESS, this, onHttpRequestProgress); hr.once(Event.COMPLETE, this, onHttpRequestComplete); hr.once(Event.ERROR, this, onHttpRequestError); hr.send('http://111.73.45.19/index.php/Tgy/tgyPost', 'username=c11111&password=...
来源: Laya_社区 发布时间: 20170215
... let hr = new Laya.HttpRequest(); hr.http.timeout = 5000; hr.on(Laya.Event.PROGRESS, this, this.onHttpRequestProgress); hr.once(Laya.Event.COMPLETE, this, (response)=>{ UIFactory.closeWaitBar(); this.onHttpRequestComplete(response); if(handleOk){ handleOk(response); } }); hr.once(Laya.Event.ERROR...
来源: Laya_社区 发布时间: 20190308
.../Resource.ts:220 Returns void _parse _parse(data: glTF, createURL: string, progress?: IBatchProgress): Promise<void> Defined in laya/gltf/glTFResource.ts:77 Parameters data: glTF createURL: string Optional progress: IBatchProgress Returns Promise<void> _removeReference _removeReference(c...
来源: Laya3.0_api 发布时间: 20231102
...e _parse(desc: string | ArrayBuffer, atlasText: string, createURL: string, progress?: IBatchProgress): Promise<void> Defined in laya/spine/SpineTemplet.ts:39 Parameters desc: string | ArrayBuffer atlasText: string createURL: string Optional progress: IBatchProgress Returns Promise<void> ...
来源: Laya3.0_api 发布时间: 20231115