大约有 67 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0059 秒)
...der:URLLoader = new URLLoader(); loader.addEventListener(Event.COMPLETE, onConfigLoaded); loader.load( new URLRequest(".dev") ); } private function onConfigLoaded(evt:Event):void { var params:URLVariables = new URLVariables(); para...
来源: Laya_社区 发布时间: 20200217
...件类型是否是鼠标事件。 EventDispatcher loadImage(url:String, complete:Handler = null):Sprite 加载并显示一个图片。相当于加载图片后,设置texture属性 注意:2.0改动:多次调用,只会显示一个图片(1.0会显示多个图片),x,y,width,height参数取...
来源: Laya2.0_api 发布时间: 20190513
...TempletBinary(); this.templet.loadAni(this.aniPath); this.templet.on(Event.COMPLETE, this, this.parseComplete); this.templet.on(Event.ERROR, this, this.onError) } private function parseComplete(): void { this.skeleton = this.templet.buildArmature(); Laya.stage.addChild(this.skeleton); this.skeleton....
来源: Laya2.0_文档 发布时间: 20210715
... this.templet.loadAni(this.aniPath); this.templet.on(Event.COMPLETE, this, this.parseComplete); this.templet.on(Event.ERROR, this, this.onError); } parseComplete() { this.skeleton = this.templet.buildArmature(); Laya.stage.addChild(this....
来源: Laya_社区 发布时间: 20211013
...l:String, x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, complete:Handler = null):Sprite 加载并显示一个图片。功能等同于graphics.loadImage方法。支持异步加载。 注意:多次调用loadImage绘制不同的图片,会同时显示。 Sprite localToGlobal(poin...
来源: laya_api 发布时间: 20170422
...l:String, x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, complete:Handler = null):Sprite 加载并显示一个图片。功能等同于graphics.loadImage方法。支持异步加载。 注意:多次调用loadImage绘制不同的图片,会同时显示。 Sprite localToGlobal(poin...
来源: laya_api 发布时间: 20170929
...load(url:String):void 加载粒子文件 Particle2D loadImage(url:String, complete:Handler = null):Sprite 加载并显示一个图片。相当于加载图片后,设置texture属性 注意:2.0改动:多次调用,只会显示一个图片(1.0会显示多个图片),x,y,width,height参数取...
来源: Laya2.0_api 发布时间: 20190513
...l:String, x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, complete:Handler = null):Sprite 加载并显示一个图片。功能等同于graphics.loadImage方法。支持异步加载。 注意:多次调用loadImage绘制不同的图片,会同时显示。 Sprite localToGlobal(poin...
来源: laya_api 发布时间: 20170929
...件类型是否是鼠标事件。 EventDispatcher loadImage(url:String, complete:Handler = null):Sprite 加载并显示一个图片。相当于加载图片后,设置texture属性 注意:2.0改动:多次调用,只会显示一个图片(1.0会显示多个图片),x,y,width,height参数取...
来源: Laya2.0_api 发布时间: 20190513
...点 Parameters node: Node Returns boolean loadImage loadImage(url: string, complete?: Handler): Sprite Inherited from Text.loadImage Defined in laya/display/Sprite.ts:1578 加载并显示一个图片。相当于加载图片后,设置texture属性 注意:2.0改动:多次调用,只会显示一...
来源: Laya3.0_api 发布时间: 20231115