大约有 73 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0070 秒)
...包括 安卓跟苹果 MoreGame load(url:String, complete:Handler = null, progress:Handler = null):void[static] 加载场景及场景使用到的资源 Scene loadImage(url:String, complete:Handler = null):Sprite 加载并显示一个图片。相当于加载图片后,设置texture属性 注意:...
来源: Laya2.0_api 发布时间: 20190513
...鼠标事件。 EventDispatcher load(url:String, complete:Handler = null, progress:Handler = null):void[static] 加载场景及场景使用到的资源 Scene loadImage(url:String, complete:Handler = null):Sprite 加载并显示一个图片。相当于加载图片后,设置texture属性 注意:...
来源: Laya2.0_api 发布时间: 20190513
...l. ### 事件 基本的事件大致有如下几种: - `onloadstart` - `onprogress` - `onabort` - `ontimeout` - `onerror` - `onload` - `onloadend` 我们常用的基本就是进度事件,完成事件,错误事件等 每一个`XMLHttpRequest`里面都有一个`upload`属性,而`upload`是一...
来源: Laya2.0_文档 发布时间: 20210714
...l. ### 事件 基本的事件大致有如下几种: - `onloadstart` - `onprogress` - `onabort` - `ontimeout` - `onerror` - `onload` - `onloadend` 我们常用的基本就是进度事件,完成事件,错误事件等 每一个`XMLHttpRequest`里面都有一个`upload`属性,而`upload`是一...
来源: Laya2.0_文档 发布时间: 20210715
...## 事件 基本的事件大致有如下几种: - `onloadstart` - `onprogress` - `onabort` - `ontimeout` - `onerror` - `onload` - `onloadend` 我们常用的基本就是进度事件,完成事件,错误事件等 每一个`XMLHttpRequest`里面都有一个`upload`属性,而`upload`是一...
来源: Laya2.0_文档 发布时间: 20210715
...上, 看代码-> this.hr=new HttpRequest(); this.hr.once(Laya.Event.PROGRESS, this, this.onHttpRequestProgress); this.hr.once(Laya.Event.COMPLETE, this, this.onHttpRequestComplete); this.hr.once(Laya.Event.ERROR, this, this.onHttpRequestError); this.hr.send("http://www.baidu.com", null, 'post',...
来源: Laya_社区 发布时间: 20151028
....Event.COMPLETE, e); } } private progressHandler(e: any): void { console.log("netconnection progress:", e); this.event(Laya.Event.PROGRESS, e); } private errorHandler(e: any): void { ...
来源: Laya_社区 发布时间: 20161109
...blic/Protected All Inherited Externals Only exported Menu Globals "laya/ui/ProgressBar" ProgressBar Class ProgressBar ProgressBar 组件显示内容的加载进度。 example 以下示例代码,创建了一个新的 ProgressBar 实例,设置了它的皮肤、位置、宽高、网格等信息,...
来源: Laya3.0_api 发布时间: 20231115
...500毫秒 Returns void Static load load(url: string, complete?: Handler, progress?: Handler): Promise<Scene> Defined in laya/display/Scene.ts:372 加载场景及场景使用到的资源 Parameters url: string 场景地址 Default value complete: Handler = null 加载完成回调,返回场景...
来源: Laya3.0_api 发布时间: 20231115
...500毫秒 Returns void Static load load(url: string, complete?: Handler, progress?: Handler): Promise<Scene> Inherited from Scene.load Defined in laya/display/Scene.ts:372 加载场景及场景使用到的资源 Parameters url: string 场景地址 Default value complete: Handler = null 加载...
来源: Laya3.0_api 发布时间: 20231115