bin-debug/SK_Game/aleartBox.js

(完整代码) 2KB

var __reflect = (this && this.__reflect) || function (p, c, t) {
    p.__class__ = c, t ? t.push(c) : t = [c], p.__types__ = p.__types__ ? t.concat(p.__types__) : t;
};
var __extends = this && this.__extends || function __extends(t, e) { 
 function r() { 
 this.constructor = t;
}
for (var i in e) e.hasOwnProperty(i) && (t[i] = e[i]);
r.prototype = e.prototype, t.prototype = new r();
};
var game;
(function (game) {
    var AleartBox = (function (_super) {
        __extends(AleartBox, _super);
        function AleartBox() {
            var _this = _super.call(this) || this;
            _this.addEventListener(eui.UIEvent.COMPLETE, _this.initUI, _this);
            _this.skinName = "resource/egamexml/AleartBox.exml";
            return _this;
        }
        AleartBox.prototype.initUI = function () {
            //自适应
            Sys_Gameset.setEXMLAuto(this);
            this.yesbtn.addEventListener(egret.TouchEvent.TOUCH_TAP, this.unloadUI, this);
            this.closebtn.addEventListener(egret.TouchEvent.TOUCH_TAP, this.unloadUI, this);
            this.userbtn1.addEventListener(egret.TouchEvent.TOUCH_TAP, this.unloadUI, this);
            this.userbtn2.addEventListener(egret.TouchEvent.TOUCH_TAP, this.unloadUI, this);
            //标题特效
            var TxtTiles = Sys_Gameset.LoadMovieClipMovie("MoveShow1", this.titleTx, 30, 13, "Movie1", -1, "GuangTx2");
            TxtTiles.scaleX = 1.2;
            TxtTiles.scaleY = 1.2;
            TxtTiles.alpha = 0.3;
            this.moreBtngpr.visible = false;
        };
        AleartBox.prototype.setTxtShow = function (_titles, _mains) {
            this.showAboutTitle.text = _titles;
            this.showAbout.text = _mains;
        };
        AleartBox.prototype.unloadUI = function () {
            this.parent.removeChild(this);
        };
        AleartBox.prototype.setShowTwoBtn = function () {
            this.yesbtn.visible = false;
            this.moreBtngpr.visible = true;
        };
        return AleartBox;
    }(eui.Component));
    game.AleartBox = AleartBox;
    __reflect(AleartBox.prototype, "game.AleartBox");
})(game || (game = {}));
//# sourceMappingURL=aleartBox.js.map

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。