大约有 712 项符合查询结果, 库内数据总量为 30,942 项。 (搜索耗时: 0.0047 秒)
Laya_社区(311) Laya3.0_api(93) Laya2.0_api(74) laya_api(62) Laya_示例(55) Laya2.0_示例(55) Laya2.0_文档(42) Laya3.0_文档(20)
...utils.Browser; public class Retitution extends Sprite { private const stageWidth:int = 800; private const stageHeight:int = 600; private var Matter:Object = Browser.window.Matter; private var LayaRender:Object = Browser.window.LayaRender; private var mouseConstraint:*; private var engine:*; /***/ pu...
来源: Laya_社区 发布时间: 20171214
... debug_txt.autoSize = TextFieldAutoSize.LEFT; debug_txt.width = 1000; debug_txt.y = 20; var tf:TextFormat = new TextFormat(null,12,0xFFFFFF); debug_txt.defaultTextFormat = tf; debug_txt.text = "start..."; ...
来源: Laya_社区 发布时间: 20200217
...ower.zOrder = budai.y; flower.autoSize = true; flower.height = 100; flower.width = 100; flower.size(100,100); flower.on(Laya.Event.CLICK,this,function() { alert("My Name is Bear"); }); mallLayer.addChild(flower); mallLayer._showGridList.push(flower); 附件 : --> hxwlworld.zip 2018-07-22 添...
来源: Laya_社区 发布时间: 20180722
...rollBar.skin = "../../../../res/ui/hscroll.png"; //设置宽度 hScrollBar.width = 400; //设置位置 hScrollBar.pos(150, 170); //最低滚动位置数字 hScrollBar.min = 0; //最高滚动位置数字 hScrollBar.max = 100; //滚动变化事件回调 hScrollBar.changeHandler = new Handler(this, onC...
来源: Laya2.0_文档 发布时间: 20210714
... if (rect[2] == -1) rect[2] = Math.ceil((cri.width + lineWidth * 2) * this.lastScaleX); } var dt_w = w != 0 ? w : 1; var dt_h = h != 0 ? h : 1; if(rect){ dt_w = rect[2] != 0 ...
来源: Laya_社区 发布时间: 20191017
...his.hScrollBar.skin = "res/ui/hscroll.png"; //设置宽度 this.hScrollBar.width = 400; //设置位置 this.hScrollBar.pos(150, 170); //最低滚动位置数字 this.hScrollBar.min = 0; //最高滚动位置数字 this.hScrollBar.max = 100; //滚动变化事件回调 this.hScrollBar.changeHandler = n...
来源: Laya2.0_文档 发布时间: 20210714
...HADING; Laya.stage.addChild(new MousePickingScene()); // Laya.init(Browser.width, Browser.height); // Laya.stage.scaleMode = Stage.SCALE_NOSCALE; infoText = "距离:null"; mySwitch = true; target = new BMap.Point(113.392307, 23.062487); createDom(); initMap(); createButton(); var successHandler = ...
来源: Laya_社区 发布时间: 20170323
...e; var mCurrSkinIndex = 0; (function() { WebGL.enable(); Laya.init(Browser.width, Browser.height); Laya.stage.bgColor = "#ffffff"; Stat.show(); startFun(); })(); function startFun() { mAniPath = "res/spine/spineRes1/dragon.sk"; mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, parseComplet...
来源: Laya_社区 发布时间: 20181120
...his.vScrollBar.skin = "res/ui/vscroll.png"; //设置宽度 this.vScrollBar.width = 400; //设置位置 this.vScrollBar.pos(150, 170); //最低滚动位置数字 this.vScrollBar.min = 0; //最高滚动位置数字 this.vScrollBar.max = 100; //滚动变化事件回调 this.vScrollBar.changeHandler = n...
来源: Laya2.0_文档 发布时间: 20210715
...his.hScrollBar.skin = "res/ui/hscroll.png"; //设置宽度 this.hScrollBar.width = 400; //设置位置 this.hScrollBar.pos(150, 170); //最低滚动位置数字 this.hScrollBar.min = 0; //最高滚动位置数字 this.hScrollBar.max = 100; //滚动变化事件回调 this.hScrollBar.changeHandler = n...
来源: Laya2.0_文档 发布时间: 20210715