大约有 2,611 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0070 秒)
Laya_社区(1996) Laya3.0_api(163) laya_api(112) Laya2.0_api(107) Laya2.0_文档(82) Laya_示例(68) Laya2.0_示例(51) Laya3.0_文档(32)
...000"); sp.hitArea = new laya.maths.Rectangle(-50,-100,100,100); sp.on(laya.events.Event.CLICK,this,this.spHandler); function spHandler() { sp.graphics.clear(); var rc:number = Math.floor(Math.random()*0xffffff); sp.graphics.drawRect(-50,-100,100,100,"#"+rc); } 这样多包几...
来源: Laya_社区 发布时间: 20180106
...asses | Index | Frames No Frames DialogManagerProperties | Methods | Events Packagelaya.uiClasspublic class DialogManagerInheritanceDialogManager Sprite Node EventDispatcher Object DialogManager 对话框管理容器,所有的对话框都在该容器内,并且受管理器管理。 任意...
来源: laya_api 发布时间: 20170929
...Templet; import laya.display.Sprite; import laya.display.Text; import laya.events.Event; import laya.utils.Browser; import laya.utils.Stat; import laya.webgl.WebGL; public class LayaAirDemo { private var templete:Templet;//动画模板类 private var skeleton:Skeleton;//骨骼动画类 private var c...
来源: Laya_社区 发布时间: 20170324
...tor3.distance(this.transform.position, this.AroundPos); Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.mouseDown); Laya.stage.on(Laya.Event.MOUSE_MOVE, this, this.mouseMove); Laya.stage.on(Laya.Event.MOUSE_UP, this, this.mouseUp); Laya.stage.on(Laya.Event.MOUSE_WHEEL, this, this.mouseWheel) } onUpd...
来源: Laya_社区 发布时间: 20190224
...在3d场景中应该怎样实现? Ignored attempt to cancel a touchmove event with cancelable=false Ignored attempt to cancel a touchmove event with cancelable=false Ignored attempt to cancel a touchmove event with cancelable=false islooping的false和true的切换 3D物体active从false设置为t...
来源: Laya_社区 发布时间: 20171224
... this._data=data; this.event(/*laya.events.Event.PROGRESS*/"progress",0.5); return this._loadImage(this._url.replace(".fnt",".png")); }else { var bFont=new Bitma...
来源: Laya_社区 发布时间: 20190402
...le.log("connect...."); this.hr = new Laya.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://tdev.sanguoh5.com:800...
来源: Laya_社区 发布时间: 20201023
...3-4-1 其中,加载dom音频报错,怎么回事? package{import laya.events.Event;import laya.net.HttpRequest;import laya.net.Loader;import laya.utils.Browser; public class Main{private var AudioContext:Object;private var audioContext:Object;private var analyser:Object;private var audioBuffer...
来源: Laya_社区 发布时间: 20181023
...来放置到项目的src目录下。 参考:private function init(e:Event=null):void { var loader:Loader=new Loader(); var context:LoaderContext=new LoaderContext(false,ApplicationDomain.currentDomain); loader.contentLoaderInfo.addEventListener(Event.COMPLETE,onCom); loader.load(new URLReques...
来源: Laya_社区 发布时间: 20151216
...%3B alert("url=" + url); var req = new laya.net.HttpRequest(); req.on(laya.events.Event.COMPLETE, null, cb_onSuccess); req.on(laya.events.Event.ERROR, null, cb_onFail); req.send(url); } function cb_onSuccess(response) { alert("response=" + response); // 成功输出:{"ret":1478136071} } function c...
来源: Laya_社区 发布时间: 20161103