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

大约有 3 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0025 秒)

1. LayaAir和原生DOM交互(ActionScript-2D进阶篇(AS3)-扩展模块) [ 100%]

...it(500,500); var httpreq:HttpRequest = new HttpRequest(); httpreq.on(Event.COMPLETE,this,this.completeHandler); httpreq.on(Event.ERROR,this,this.errorHandler); httpreq.send("demo1.js"); } private function completeHandler(e:Object):void { var script:Object = Browser.document.createElement("script"); ...

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

2. LayaAir和原生DOM交互(JavaScript-2D进阶篇(JS)-扩展模块) [ 85%]

...init(500,500); var httpreq = new Laya.HttpRequest(); httpreq.on(Laya.Event.COMPLETE,this,completeHandler); httpreq.on(Laya.Event.ERROR,this,errorHandler); httpreq.send("demo1.js"); function completeHandler(e){ var script = Laya.Browser.document.createElement("script"); Laya.Browser.document.body.app...

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

3. LayaAir和原生DOM交互(TypeScript-2D进阶篇(TS)-扩展模块) [ 82%]

...r httpreq:Laya.HttpRequest = new Laya.HttpRequest(); httpreq.on(Laya.Event.COMPLETE,this,this.completeHandler); httpreq.on(Laya.Event.ERROR,this,this.errorHandler); httpreq.send("demo1.js"); } private completeHandler(e:any):void{ var script:any = Laya.Browser.document.createElement("script"); Laya.B...

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