大约有 22 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0028 秒)
...r.png"); //设置宽度 progressBar.width = 400; //设置显示位置,在舞台居中 progressBar.x = (Laya.stage.width - progressBar.width ) / 2; progressBar.y = Laya.stage.height / 2; //设置九宫格边距,以防变形 progressBar.sizeGrid = "5,5,5,5"; //数据改变时回调方法 progressB...
来源: Laya2.0_文档 发布时间: 20210715
.../../res/ui/dialog (3).png"); //设置位置 img.pos(165, 62.5); //加载到舞台 Laya.stage.addChild(img); } } } ```
来源: Laya2.0_文档 发布时间: 20210714
... this.hScrollBar.changeHandler = new Handler(this, onChange); //加载到舞台 Laya.stage.addChild(this.hScrollBar); //创建提示信息 createPromptText(this.hScrollBar) } /***创建提示信息***/ function createPromptText(scrollBar) { //实例化提示信息 this.promptText = new Text(); //提...
来源: Laya2.0_文档 发布时间: 20210714
... this.vScrollBar.changeHandler = new Handler(this, onChange); //加载到舞台 Laya.stage.addChild(this.vScrollBar); //创建提示信息 createPromptText(this.vScrollBar) } /***创建提示信息***/ function createPromptText(scrollBar) { //实例化提示信息 this.promptText = new Text(); //提...
来源: Laya2.0_文档 发布时间: 20210715
...ge = new Image(bgSkin); //设置图片大小 bg.size(224, 302); //位置居舞台中间 bg.pos(Laya.stage.width - bg.width >> 1, Laya.stage.height -bg.height >> 1); //加载到舞台 Laya.stage.addChild(bg); } /***创建计数器切片***/ private function createCounter():void { //实例化计数器...
来源: Laya2.0_文档 发布时间: 20210714
...is.hScrollBar.changeHandler = new Handler(this, this.onChange); //加载到舞台 Laya.stage.addChild(this.hScrollBar); //创建提示信息 this.createPromptText(this.hScrollBar) } /***创建提示信息***/ private createPromptText(scrollBar:ScrollBar):void { //实例化提示信息 this.promptTex...
来源: Laya2.0_文档 发布时间: 20210715
...is.vScrollBar.changeHandler = new Handler(this, this.onChange); //加载到舞台 Laya.stage.addChild(this.vScrollBar); //创建提示信息 this.createPromptText(this.vScrollBar) } /***创建提示信息***/ private createPromptText(scrollBar:ScrollBar):void { //实例化提示信息 this.promptTex...
来源: Laya2.0_文档 发布时间: 20210715
...回调 vScrollBar.changeHandler = new Handler(this, onChange); //加载到舞台 Laya.stage.addChild(vScrollBar); //创建提示信息 createPromptText(vScrollBar) } /***创建提示信息***/ private function createPromptText(scrollBar:ScrollBar):void { //实例化提示信息 promptText=new Text()...
来源: Laya2.0_文档 发布时间: 20210715
...回调 hScrollBar.changeHandler = new Handler(this, onChange); //加载到舞台 Laya.stage.addChild(hScrollBar); //创建提示信息 createPromptText(hScrollBar) } /***创建提示信息***/ private function createPromptText(scrollBar:ScrollBar):void { //实例化提示信息 promptText=new Text()...
来源: Laya2.0_文档 发布时间: 20210714
...; //设置文本描边颜色 label.strokeColor = strokeColor; } //加载到舞台 Laya.stage.addChild(label); return label; } } } ```
来源: Laya2.0_文档 发布时间: 20210714