大约有 7 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0048 秒)
...= new Laya.Sprite(); var xhr = new Laya.HttpRequest(); xhr.once(Laya.Event.COMPLETE,this,completeHandler); xhr.once(Laya.Event.ERROR,this,errorHandler); xhr.send("res/monkey2.png","","get","arraybuffer"); function completeHandler(data){ //加载完成返回的data是arraybuffer; //.......这里处...
来源: Laya2.0_文档 发布时间: 20210715
...= new Laya.Sprite(); var xhr = new Laya.HttpRequest(); xhr.once(Laya.Event.COMPLETE,this,this.completeHandler); xhr.once(Laya.Event.ERROR,this,this.errorHandler); xhr.send("res/a.png","","get","arraybuffer"); } private completeHandler(data:Object):void{ //加载完成返回的data是arraybuffer; /...
来源: Laya2.0_文档 发布时间: 20210714
...te = new Sprite(); var xhr:HttpRequest = new HttpRequest(); xhr.once(Event.COMPLETE,this,completeHandler); xhr.once(Event.ERROR,this,errorHandler); xhr.send("res/monkey2.png","","get","arraybuffer"); } private function completeHandler(data:Object):void { //加载完成返回的data是arraybuffer; ...
来源: Laya2.0_文档 发布时间: 20210714
...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
...除模式) | 部分支持(包括:Always Animate 总是播放、Cull Completely完全剔除) | ##### Animator Controller State 在Aniamtor组件属性中双击Controller打开动画控制器的面板,选中`State`(状态),可以看到下图面板。 ![img](img/4.6-2.png) 在上图中的Un...
来源: Laya2.0_文档 发布时间: 20210714
...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
...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