• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 82 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0052 秒)

61. 请引擎开发人员不要在用这种写法了 [ 48%]

...的代码触发了相关bug。 shiyang • 2020-09-09 16:39 你把img换成progress shiyang • 2020-09-09 16:44 laya.ui.js:3741 Uncaught TypeError: Cannot set property 'skin' of null at ProgressBar._skinLoaded (laya.ui.js:3741) at EventHandler.runWith (laya.core.js:998) at ResInfo.event (laya.core....

来源: Laya_社区 发布时间: 20200909

62. 求HTTP相关的文档或者例子谢谢了 [ 48%]

...nts.HTTPStatusEvent; import flash.events.IOErrorEvent; import flash.events.ProgressEvent; import flash.events.SecurityErrorEvent; import flash.net.URLLoader; import flash.net.URLLoaderDataFormat; import flash.net.URLRequest; import flash.net.URLRequestMethod; import flash.net.URLVariables; public cl...

来源: Laya_社区 发布时间: 20151217

63. HttpRequest 回调方法都没执行 LayaAir 1.7.17 beta JS版本 [ 47%]

...ew Laya.HttpRequest(); //new一个HttpRequest类 this.http.once(Laya.Event.PROGRESS,this,this.onProgress); //数据传输中 this.http.once(Laya.Event.COMPLETE,this,this.onComplete); //数据传输完成后,会返回一个data this.http.once(Laya.Event.ERROR,this,this.onError); //数据传输失...

来源: Laya_社区 发布时间: 20180315

64. [LayaAirIDE3]xcode切入切出声音不播放 [ 47%]

...       const elapsed = Date.now() - startTime;             const progress = Math.min(elapsed / duration, 1);              channel.volume = initialVolume +                 (targetVolume - initialVolume) * progress;              if (progress === 1) {              ...

来源: Laya_社区 发布时间: 20250930

65. laya.ui.ProgressBar_API3.0 [ 46%]

...blic/Protected All Inherited Externals Only exported Menu Globals "laya/ui/ProgressBar" ProgressBar Class ProgressBar ProgressBar 组件显示内容的加载进度。 example 以下示例代码,创建了一个新的 ProgressBar 实例,设置了它的皮肤、位置、宽高、网格等信息,...

来源: Laya3.0_api 发布时间: 20231115

66. 抖音小游戏 · LayaAir3.3 · 引擎文档 · LAYABOX [ 43%]

...: void { //小游戏加载分包 Laya.loader.loadPackage("sub1", this.printProgress).then(() => { Laya.loader.load("sub1/Cube.lh").then((res: Laya.PrefabImpl) => { let sp3: Laya.Sprite3D = res.create() as Laya.Sprite3D; this.scene3d.addChild(sp3); }); }) Laya.loader.loadPackage("sub2", this.pr...

来源: Laya3.0_文档 发布时间: 20251010

67. HttpRequest详解(JavaScript-LayaAir基础篇(JS)-数据与通信) [ 38%]

...l. ### 事件 基本的事件大致有如下几种: - `onloadstart` - `onprogress` - `onabort` - `ontimeout` - `onerror` - `onload` - `onloadend` 我们常用的基本就是进度事件,完成事件,错误事件等 每一个`XMLHttpRequest`里面都有一个`upload`属性,而`upload`是一...

来源: Laya2.0_文档 发布时间: 20210714

68. HttpRequest详解(TypeScript-LayaAir基础篇(TS)-数据与通信) [ 38%]

...l. ### 事件 基本的事件大致有如下几种: - `onloadstart` - `onprogress` - `onabort` - `ontimeout` - `onerror` - `onload` - `onloadend` 我们常用的基本就是进度事件,完成事件,错误事件等 每一个`XMLHttpRequest`里面都有一个`upload`属性,而`upload`是一...

来源: Laya2.0_文档 发布时间: 20210715

69. laya.ui.MoreGame [ 38%]

...包括 安卓跟苹果 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

70. laya.ui.View [ 38%]

...鼠标事件。 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