/**
 * Copyright (c) 2014,www.easygame.org
 * All rights reserved.
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 *     * Redistributions of source code must retain the above copyright
 *       notice, this list of conditions and the following disclaimer.
 *     * Redistributions in binary form must reproduce the above copyright
 *       notice, this list of conditions and the following disclaimer in the
 *       documentation and/or other materials provided with the distribution.
 *     * Neither the name of the easygame.org nor the
 *       names of its contributors may be used to endorse or promote products
 *       derived from this software without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY EASYEGRET.COM AND CONTRIBUTORS "AS IS" AND ANY
 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
 * DISCLAIMED. IN NO EVENT SHALL EGRET-LABS.ORG AND CONTRIBUTORS BE LIABLE FOR ANY
 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
module modules{

    /**
     * <p></p>
     * @date  :2020-03-28 16:01:04
     * @EasyGame.org Tools
     */ 
    export class index3  extends easy.Group{
        public resourceRoot:string = "";
        public resSpriteSheet:string = "index3";//合并材质资源名称
        public resTexture:Array<string> = ["3","4","page02-12"];//单材质资源名称
        public resGroup:Array<string> = ["courseware_index3"];//配置文件的Group
        public resFiles:Array<string> = ["courseware/index3_loader_200328160104.json"];//需要下载的资源group
        public spriteSheet:egret.SpriteSheet = null;//ui对应的材质集,已经分割好,方便外部读取方便

        public group:easy.Group = null;
        public imgas:easy.Image = null;
        public groupAll:easy.Group = null;
        public imgBg:easy.Image = null;
        public img1:easy.Image = null;
        public img2:easy.Image = null;
        public imgWord1:easy.Image = null;
        public imgWord2:easy.Image = null;
        public imgLeft1:easy.Image = null;
        public imgLeft2:easy.Image = null;
        public imgLeft3:easy.Image = null;
        public imgRig1:easy.Image = null;
        public imgRig2:easy.Image = null;
        public imgRig3:easy.Image = null;
        public imgRig4:easy.Image = null;
        public imgRig5:easy.Image = null;
        public imgRig6:easy.Image = null;
        public imgRig7:easy.Image = null;
        public imgRig8:easy.Image = null;
        public imgRig9:easy.Image = null;
        public groupType1:easy.Group = null;
        public img1_1:easy.Image = null;
        public img1_2:easy.Image = null;
        public img1_3:easy.Image = null;
        public img1_4:easy.Image = null;
        public img1_5:easy.Image = null;
        public img1_6:easy.Image = null;
        public img1_7:easy.Image = null;
        public img1_8:easy.Image = null;
        public img1_9:easy.Image = null;
        public groupType2:easy.Group = null;
        public img2_1:easy.Image = null;
        public img2_2:easy.Image = null;
        public img2_3:easy.Image = null;
        public img2_4:easy.Image = null;
        public img2_5:easy.Image = null;
        public img2_6:easy.Image = null;
        public img2_7:easy.Image = null;
        public img2_8:easy.Image = null;
        public img2_9:easy.Image = null;
        public groupType3:easy.Group = null;
        public img3_1:easy.Image = null;
        public img3_2:easy.Image = null;
        public img3_3:easy.Image = null;
        public img3_4:easy.Image = null;
        public img3_5:easy.Image = null;
        public img3_6:easy.Image = null;
        public img3_7:easy.Image = null;
        public img3_8:easy.Image = null;
        public img3_9:easy.Image = null;
        public btnAgain:easy.Button = null;
        public btnPage:easy.Button = null;
        public groupMask:easy.Group = null;
        public mask1:easy.Group = null;
        public groupLabel:easy.Group = null;
        public label1:easy.Label = null;
        public label2:easy.Label = null;
        public label3:easy.Label = null;
        public label4:easy.Label = null;
        public temp:tempTemplate = null;

        public constructor() {
            super(true);
        }
        /**
         * 初始化主场景的组件,加入场景时,主动调用一次
         * 子类覆写该方法,添加UI逻辑
         */  
        public createChildren():void {
            super.createChildren();
            this.showBg = false;
            this.border = false;
            this.width = 640;
            this.height = 960;
            //group 
            this.group = new easy.Group(true);
            this.group.name = "group";
            this.addChild(this.group);
            this.group.bgColor = 0xffffff;
            this.group.border = false;
            this.group.width = 640;
            this.group.height = 960;
            //imgas 
            this.imgas = new easy.Image(true);
            this.imgas.name = "imgas";
            this.addChild(this.imgas);
            this.imgas.x = -230;
            this.imgas.y = -114;
            this.imgas.width = 1100;
            this.imgas.height = 1188;
            this.imgas.visible = false;
            //groupAll 
            this.groupAll = new easy.Group(true);
            this.groupAll.name = "groupAll";
            this.addChild(this.groupAll);
            this.groupAll.showBg = false;
            this.groupAll.border = false;
            this.groupAll.width = 640;
            this.groupAll.height = 960;
            this.groupAll.horizontalEnabled = true;
            this.groupAll.verticalEnabled = true;
            //imgBg 
            this.imgBg = new easy.Image(true);
            this.imgBg.name = "imgBg";
            this.groupAll.addChild(this.imgBg);
            this.imgBg.x = -230;
            this.imgBg.y = -114;
            this.imgBg.width = 1100;
            this.imgBg.height = 1188;
            //img1 
            this.img1 = new easy.Image(true);
            this.img1.name = "img1";
            this.groupAll.addChild(this.img1);
            this.img1.width = 154;
            this.img1.height = 21;
            //img2 
            this.img2 = new easy.Image(true);
            this.img2.name = "img2";
            this.groupAll.addChild(this.img2);
            this.img2.x = 153;
            this.img2.width = 487;
            this.img2.height = 21;
            //imgWord1 
            this.imgWord1 = new easy.Image(true);
            this.imgWord1.name = "imgWord1";
            this.groupAll.addChild(this.imgWord1);
            this.imgWord1.x = 139;
            this.imgWord1.y = 29;
            this.imgWord1.width = 361;
            this.imgWord1.height = 105;
            //imgWord2 
            this.imgWord2 = new easy.Image(true);
            this.imgWord2.name = "imgWord2";
            this.groupAll.addChild(this.imgWord2);
            this.imgWord2.x = 151;
            this.imgWord2.y = 141;
            this.imgWord2.width = 321;
            this.imgWord2.height = 27;
            //imgLeft1 
            this.imgLeft1 = new easy.Image(true);
            this.imgLeft1.name = "imgLeft1";
            this.groupAll.addChild(this.imgLeft1);
            this.imgLeft1.x = 29;
            this.imgLeft1.y = 295;
            this.imgLeft1.width = 231;
            this.imgLeft1.height = 46;
            //imgLeft2 
            this.imgLeft2 = new easy.Image(true);
            this.imgLeft2.name = "imgLeft2";
            this.groupAll.addChild(this.imgLeft2);
            this.imgLeft2.x = 28;
            this.imgLeft2.y = 452;
            this.imgLeft2.width = 231;
            this.imgLeft2.height = 46;
            //imgLeft3 
            this.imgLeft3 = new easy.Image(true);
            this.imgLeft3.name = "imgLeft3";
            this.groupAll.addChild(this.imgLeft3);
            this.imgLeft3.x = 28;
            this.imgLeft3.y = 602;
            this.imgLeft3.width = 231;
            this.imgLeft3.height = 46;
            //imgRig1 
            this.imgRig1 = new easy.Image(true);
            this.imgRig1.name = "imgRig1";
            this.groupAll.addChild(this.imgRig1);
            this.imgRig1.x = 315;
            this.imgRig1.y = 188;
            this.imgRig1.width = 274;
            this.imgRig1.height = 59;
            //imgRig2 
            this.imgRig2 = new easy.Image(true);
            this.imgRig2.name = "imgRig2";
            this.groupAll.addChild(this.imgRig2);
            this.imgRig2.x = 315;
            this.imgRig2.y = 261;
            this.imgRig2.width = 274;
            this.imgRig2.height = 60;
            //imgRig3 
            this.imgRig3 = new easy.Image(true);
            this.imgRig3.name = "imgRig3";
            this.groupAll.addChild(this.imgRig3);
            this.imgRig3.x = 315;
            this.imgRig3.y = 339;
            this.imgRig3.width = 274;
            this.imgRig3.height = 60;
            //imgRig4 
            this.imgRig4 = new easy.Image(true);
            this.imgRig4.name = "imgRig4";
            this.groupAll.addChild(this.imgRig4);
            this.imgRig4.x = 315;
            this.imgRig4.y = 417;
            this.imgRig4.width = 274;
            this.imgRig4.height = 59;
            //imgRig5 
            this.imgRig5 = new easy.Image(true);
            this.imgRig5.name = "imgRig5";
            this.groupAll.addChild(this.imgRig5);
            this.imgRig5.x = 315;
            this.imgRig5.y = 495;
            this.imgRig5.width = 274;
            this.imgRig5.height = 60;
            //imgRig6 
            this.imgRig6 = new easy.Image(true);
            this.imgRig6.name = "imgRig6";
            this.groupAll.addChild(this.imgRig6);
            this.imgRig6.x = 315;
            this.imgRig6.y = 570;
            this.imgRig6.width = 274;
            this.imgRig6.height = 59;
            //imgRig7 
            this.imgRig7 = new easy.Image(true);
            this.imgRig7.name = "imgRig7";
            this.groupAll.addChild(this.imgRig7);
            this.imgRig7.x = 315;
            this.imgRig7.y = 645;
            this.imgRig7.width = 274;
            this.imgRig7.height = 60;
            //imgRig8 
            this.imgRig8 = new easy.Image(true);
            this.imgRig8.name = "imgRig8";
            this.groupAll.addChild(this.imgRig8);
            this.imgRig8.x = 315;
            this.imgRig8.y = 721;
            this.imgRig8.width = 274;
            this.imgRig8.height = 60;
            //imgRig9 
            this.imgRig9 = new easy.Image(true);
            this.imgRig9.name = "imgRig9";
            this.groupAll.addChild(this.imgRig9);
            this.imgRig9.x = 315;
            this.imgRig9.y = 799;
            this.imgRig9.width = 274;
            this.imgRig9.height = 59;
            //groupType1 
            this.groupType1 = new easy.Group(true);
            this.groupType1.name = "groupType1";
            this.groupAll.addChild(this.groupType1);
            this.groupType1.showBg = false;
            this.groupType1.border = false;
            this.groupType1.x = 240;
            this.groupType1.y = 170;
            this.groupType1.height = 700;
            //img1_1 
            this.img1_1 = new easy.Image(true);
            this.img1_1.name = "img1_1";
            this.groupType1.addChild(this.img1_1);
            this.img1_1.x = 15;
            this.img1_1.y = 46;
            this.img1_1.width = 68;
            //img1_2 
            this.img1_2 = new easy.Image(true);
            this.img1_2.name = "img1_2";
            this.groupType1.addChild(this.img1_2);
            this.img1_2.x = 12;
            this.img1_2.y = 123;
            this.img1_2.width = 68;
            this.img1_2.height = 24;
            //img1_3 
            this.img1_3 = new easy.Image(true);
            this.img1_3.name = "img1_3";
            this.groupType1.addChild(this.img1_3);
            this.img1_3.x = 12;
            this.img1_3.y = 145;
            this.img1_3.width = 68;
            this.img1_3.height = 55;
            //img1_4 
            this.img1_4 = new easy.Image(true);
            this.img1_4.name = "img1_4";
            this.groupType1.addChild(this.img1_4);
            this.img1_4.x = 16;
            this.img1_4.y = 148;
            this.img1_4.width = 67;
            this.img1_4.height = 132;
            //img1_5 
            this.img1_5 = new easy.Image(true);
            this.img1_5.name = "img1_5";
            this.groupType1.addChild(this.img1_5);
            this.img1_5.x = 15;
            this.img1_5.y = 148;
            this.img1_5.width = 68;
            this.img1_5.height = 209;
            //img1_6 
            this.img1_6 = new easy.Image(true);
            this.img1_6.name = "img1_6";
            this.groupType1.addChild(this.img1_6);
            this.img1_6.x = 14;
            this.img1_6.y = 149;
            this.img1_6.width = 68;
            this.img1_6.height = 285;
            //img1_7 
            this.img1_7 = new easy.Image(true);
            this.img1_7.name = "img1_7";
            this.groupType1.addChild(this.img1_7);
            this.img1_7.x = 14;
            this.img1_7.y = 148;
            this.img1_7.width = 68;
            this.img1_7.height = 361;
            //img1_8 
            this.img1_8 = new easy.Image(true);
            this.img1_8.name = "img1_8";
            this.groupType1.addChild(this.img1_8);
            this.img1_8.x = 13;
            this.img1_8.y = 147;
            this.img1_8.width = 68;
            this.img1_8.height = 438;
            //img1_9 
            this.img1_9 = new easy.Image(true);
            this.img1_9.name = "img1_9";
            this.groupType1.addChild(this.img1_9);
            this.img1_9.x = 14;
            this.img1_9.y = 149;
            this.img1_9.width = 68;
            this.img1_9.height = 514;
            //groupType2 
            this.groupType2 = new easy.Group(true);
            this.groupType2.name = "groupType2";
            this.groupAll.addChild(this.groupType2);
            this.groupType2.showBg = false;
            this.groupType2.border = false;
            this.groupType2.x = 240;
            this.groupType2.y = 170;
            this.groupType2.height = 700;
            //img2_1 
            this.img2_1 = new easy.Image(true);
            this.img2_1.name = "img2_1";
            this.groupType2.addChild(this.img2_1);
            this.img2_1.x = 12;
            this.img2_1.y = 49;
            this.img2_1.width = 68;
            this.img2_1.height = 257;
            //img2_2 
            this.img2_2 = new easy.Image(true);
            this.img2_2.name = "img2_2";
            this.groupType2.addChild(this.img2_2);
            this.img2_2.x = 14;
            this.img2_2.y = 120;
            this.img2_2.width = 68;
            this.img2_2.height = 181;
            //img2_3 
            this.img2_3 = new easy.Image(true);
            this.img2_3.name = "img2_3";
            this.groupType2.addChild(this.img2_3);
            this.img2_3.x = 16;
            this.img2_3.y = 196;
            this.img2_3.width = 68;
            this.img2_3.height = 104;
            //img2_4 
            this.img2_4 = new easy.Image(true);
            this.img2_4.name = "img2_4";
            this.groupType2.addChild(this.img2_4);
            this.img2_4.x = 13;
            this.img2_4.y = 275;
            this.img2_4.width = 68;
            this.img2_4.height = 30;
            //img2_5 
            this.img2_5 = new easy.Image(true);
            this.img2_5.name = "img2_5";
            this.groupType2.addChild(this.img2_5);
            this.img2_5.x = 14;
            this.img2_5.y = 304;
            this.img2_5.width = 68;
            this.img2_5.height = 50;
            //img2_6 
            this.img2_6 = new easy.Image(true);
            this.img2_6.name = "img2_6";
            this.groupType2.addChild(this.img2_6);
            this.img2_6.x = 13;
            this.img2_6.y = 301;
            this.img2_6.width = 68;
            this.img2_6.height = 127;
            //img2_7 
            this.img2_7 = new easy.Image(true);
            this.img2_7.name = "img2_7";
            this.groupType2.addChild(this.img2_7);
            this.img2_7.x = 14;
            this.img2_7.y = 306;
            this.img2_7.width = 68;
            this.img2_7.height = 203;
            //img2_8 
            this.img2_8 = new easy.Image(true);
            this.img2_8.name = "img2_8";
            this.groupType2.addChild(this.img2_8);
            this.img2_8.x = 13;
            this.img2_8.y = 305;
            this.img2_8.width = 68;
            this.img2_8.height = 280;
            //img2_9 
            this.img2_9 = new easy.Image(true);
            this.img2_9.name = "img2_9";
            this.groupType2.addChild(this.img2_9);
            this.img2_9.x = 12;
            this.img2_9.y = 303;
            this.img2_9.width = 68;
            this.img2_9.height = 358;
            //groupType3 
            this.groupType3 = new easy.Group(true);
            this.groupType3.name = "groupType3";
            this.groupAll.addChild(this.groupType3);
            this.groupType3.showBg = false;
            this.groupType3.border = false;
            this.groupType3.x = 240;
            this.groupType3.y = 170;
            this.groupType3.height = 700;
            //img3_1 
            this.img3_1 = new easy.Image(true);
            this.img3_1.name = "img3_1";
            this.groupType3.addChild(this.img3_1);
            this.img3_1.x = 11;
            this.img3_1.y = 46;
            this.img3_1.width = 68;
            this.img3_1.height = 408;
            //img3_2 
            this.img3_2 = new easy.Image(true);
            this.img3_2.name = "img3_2";
            this.groupType3.addChild(this.img3_2);
            this.img3_2.x = 12;
            this.img3_2.y = 119;
            this.img3_2.width = 68;
            this.img3_2.height = 332;
            //img3_3 
            this.img3_3 = new easy.Image(true);
            this.img3_3.name = "img3_3";
            this.groupType3.addChild(this.img3_3);
            this.img3_3.x = 13;
            this.img3_3.y = 196;
            this.img3_3.width = 68;
            this.img3_3.height = 255;
            //img3_4 
            this.img3_4 = new easy.Image(true);
            this.img3_4.name = "img3_4";
            this.groupType3.addChild(this.img3_4);
            this.img3_4.x = 12;
            this.img3_4.y = 278;
            this.img3_4.width = 68;
            this.img3_4.height = 179;
            //img3_5 
            this.img3_5 = new easy.Image(true);
            this.img3_5.name = "img3_5";
            this.groupType3.addChild(this.img3_5);
            this.img3_5.x = 14;
            this.img3_5.y = 354;
            this.img3_5.width = 68;
            this.img3_5.height = 102;
            //img3_6 
            this.img3_6 = new easy.Image(true);
            this.img3_6.name = "img3_6";
            this.groupType3.addChild(this.img3_6);
            this.img3_6.x = 13;
            this.img3_6.y = 431;
            this.img3_6.width = 68;
            this.img3_6.height = 26;
            //img3_7 
            this.img3_7 = new easy.Image(true);
            this.img3_7.name = "img3_7";
            this.groupType3.addChild(this.img3_7);
            this.img3_7.x = 15;
            this.img3_7.y = 456;
            this.img3_7.width = 68;
            this.img3_7.height = 52;
            //img3_8 
            this.img3_8 = new easy.Image(true);
            this.img3_8.name = "img3_8";
            this.groupType3.addChild(this.img3_8);
            this.img3_8.x = 15;
            this.img3_8.y = 457;
            this.img3_8.width = 68;
            this.img3_8.height = 129;
            //img3_9 
            this.img3_9 = new easy.Image(true);
            this.img3_9.name = "img3_9";
            this.groupType3.addChild(this.img3_9);
            this.img3_9.x = 12;
            this.img3_9.y = 453;
            this.img3_9.width = 68;
            this.img3_9.height = 205;
            //btnAgain 
            this.btnAgain = new easy.Button(true);
            this.btnAgain.name = "btnAgain";
            this.groupAll.addChild(this.btnAgain);
            this.btnAgain.width = 133;
            this.btnAgain.height = 47;
            this.btnAgain.x = 467;
            this.btnAgain.y = 883;
            //btnPage 
            this.btnPage = new easy.Button(true);
            this.btnPage.name = "btnPage";
            this.groupAll.addChild(this.btnPage);
            this.btnPage.width = 133;
            this.btnPage.height = 47;
            this.btnPage.x = 27;
            this.btnPage.y = 883;
            //groupMask 
            this.groupMask = new easy.Group(true);
            this.groupMask.name = "groupMask";
            this.groupAll.addChild(this.groupMask);
            this.groupMask.showBg = false;
            this.groupMask.border = false;
            this.groupMask.width = 640;
            this.groupMask.height = 960;
            this.groupMask.horizontalEnabled = true;
            this.groupMask.verticalEnabled = true;
            this.groupMask.visible = false;
            //mask1 
            this.mask1 = new easy.Group(true);
            this.mask1.name = "mask1";
            this.groupMask.addChild(this.mask1);
            this.mask1.bgColor = 0x0;
            this.mask1.border = false;
            this.mask1.width = 640;
            this.mask1.height = 960;
            this.mask1.alpha = 0.5;
            //groupLabel 
            this.groupLabel = new easy.Group(true);
            this.groupLabel.name = "groupLabel";
            this.groupMask.addChild(this.groupLabel);
            this.groupLabel.bgColor = 0x999999;
            this.groupLabel.border = false;
            this.groupLabel.x = 120;
            this.groupLabel.y = 330;
            this.groupLabel.width = 400;
            this.groupLabel.height = 200;
            //label1 
            this.label1 = new easy.Label(true);
            this.label1.name = "label1";
            this.groupLabel.addChild(this.label1);
            this.label1.fontSize = 35;
            this.label1.hAlign = "center";
            this.label1.autoSize = false;
            this.label1.bold = true;
            this.label1.width = 400;
            this.label1.height = 33.8;
            this.label1.y = 21;
            this.label1.showBg = false;
            this.label1.border = false;
            //label2 
            this.label2 = new easy.Label(true);
            this.label2.name = "label2";
            this.groupLabel.addChild(this.label2);
            this.label2.fontSize = 30;
            this.label2.hAlign = "center";
            this.label2.autoSize = false;
            this.label2.width = 400;
            this.label2.height = 33.8;
            this.label2.y = 64;
            this.label2.showBg = false;
            this.label2.border = false;
            //label3 
            this.label3 = new easy.Label(true);
            this.label3.name = "label3";
            this.groupLabel.addChild(this.label3);
            this.label3.fontSize = 30;
            this.label3.hAlign = "center";
            this.label3.autoSize = false;
            this.label3.width = 400;
            this.label3.height = 33.8;
            this.label3.y = 106;
            this.label3.showBg = false;
            this.label3.border = false;
            //label4 
            this.label4 = new easy.Label(true);
            this.label4.name = "label4";
            this.groupLabel.addChild(this.label4);
            this.label4.fontSize = 30;
            this.label4.hAlign = "center";
            this.label4.autoSize = false;
            this.label4.width = 400;
            this.label4.height = 33.8;
            this.label4.y = 149;
            this.label4.showBg = false;
            this.label4.border = false;
            //temp 
            this.temp = new modules.tempTemplate();
            this.temp.name = "temp";
            this.addChild(this.temp);
            if (this.temp.ui["resFiles"]) this.resFiles = this.resFiles.concat(this.temp.ui.resFiles);
            if (this.temp.ui["resGroup"]) this.resGroup = this.resGroup.concat(this.temp.ui.resGroup);
            this.temp.x = 540;
            this.temp.rightEnabled = true;
            this.temp.ui.rightEnabled = true;

        }
        /**
         * 获取初始化逻辑,加入场景时,主动调用一次
         * 子类覆写该方法,添加业务逻辑
         */
         public initData():void {
           super.initData();
        }
        /**
         * 进入的逻辑
         * 可以再次根据外部数据情况做一些逻辑处理
         */
        public enter():void {

        }

        /**
         * 退出的逻辑
         * 做一些数据的销毁或者初始化,保证下次进入的时候,不会残留
         */
        public outer():void {

        }
        /**
         * 刷新UI皮肤显示
         */
        public validateNow():void{
            this.drawDelay = false;
            var jsonData:any = RES.getRes("index3_json");
            if (jsonData != null) {
                this.spriteSheet = new egret.SpriteSheet(RES.getRes("index3_img"));
                for (var key in jsonData.texture){
                    this.spriteSheet.createTexture(key, jsonData.texture[key].x, jsonData.texture[key].y, jsonData.texture[key].w, jsonData.texture[key].h);
                }
            }
            this.group.drawDelay = false;
            this.imgas.texture = RES.getRes("3");
            this.imgas.drawDelay = false;
            this.groupAll.drawDelay = false;
            if (this.spriteSheet) this.imgBg.texture = this.spriteSheet.getTexture("page08-03");
            this.imgBg.drawDelay = false;
            if (this.spriteSheet) this.img1.texture = this.spriteSheet.getTexture("page03-01");
            this.img1.drawDelay = false;
            if (this.spriteSheet) this.img2.texture = this.spriteSheet.getTexture("page03-02");
            this.img2.drawDelay = false;
            if (this.spriteSheet) this.imgWord1.texture = this.spriteSheet.getTexture("page03-1");
            this.imgWord1.drawDelay = false;
            if (this.spriteSheet) this.imgWord2.texture = this.spriteSheet.getTexture("page04-03");
            this.imgWord2.drawDelay = false;
            if (this.spriteSheet) this.imgLeft1.texture = this.spriteSheet.getTexture("page03-03");
            this.imgLeft1.drawDelay = false;
            if (this.spriteSheet) this.imgLeft2.texture = this.spriteSheet.getTexture("page03-04");
            this.imgLeft2.drawDelay = false;
            if (this.spriteSheet) this.imgLeft3.texture = this.spriteSheet.getTexture("page03-05");
            this.imgLeft3.drawDelay = false;
            if (this.spriteSheet) this.imgRig1.texture = this.spriteSheet.getTexture("page03-06");
            this.imgRig1.drawDelay = false;
            if (this.spriteSheet) this.imgRig2.texture = this.spriteSheet.getTexture("page03-07");
            this.imgRig2.drawDelay = false;
            if (this.spriteSheet) this.imgRig3.texture = this.spriteSheet.getTexture("page03-08");
            this.imgRig3.drawDelay = false;
            if (this.spriteSheet) this.imgRig4.texture = this.spriteSheet.getTexture("page03-09");
            this.imgRig4.drawDelay = false;
            if (this.spriteSheet) this.imgRig5.texture = this.spriteSheet.getTexture("page03-10");
            this.imgRig5.drawDelay = false;
            if (this.spriteSheet) this.imgRig6.texture = this.spriteSheet.getTexture("page03-11");
            this.imgRig6.drawDelay = false;
            if (this.spriteSheet) this.imgRig7.texture = this.spriteSheet.getTexture("page03-12");
            this.imgRig7.drawDelay = false;
            if (this.spriteSheet) this.imgRig8.texture = this.spriteSheet.getTexture("page03-13");
            this.imgRig8.drawDelay = false;
            if (this.spriteSheet) this.imgRig9.texture = this.spriteSheet.getTexture("page03-14");
            this.imgRig9.drawDelay = false;
            this.groupType1.drawDelay = false;
            if (this.spriteSheet) this.img1_1.texture = this.spriteSheet.getTexture("type1_1");
            this.img1_1.drawDelay = false;
            if (this.spriteSheet) this.img1_2.texture = this.spriteSheet.getTexture("type1_2");
            this.img1_2.drawDelay = false;
            if (this.spriteSheet) this.img1_3.texture = this.spriteSheet.getTexture("type1_3");
            this.img1_3.drawDelay = false;
            if (this.spriteSheet) this.img1_4.texture = this.spriteSheet.getTexture("type1_4");
            this.img1_4.drawDelay = false;
            if (this.spriteSheet) this.img1_5.texture = this.spriteSheet.getTexture("type1_5");
            this.img1_5.drawDelay = false;
            if (this.spriteSheet) this.img1_6.texture = this.spriteSheet.getTexture("type1_6");
            this.img1_6.drawDelay = false;
            if (this.spriteSheet) this.img1_7.texture = this.spriteSheet.getTexture("type1_7");
            this.img1_7.drawDelay = false;
            if (this.spriteSheet) this.img1_8.texture = this.spriteSheet.getTexture("type1_8");
            this.img1_8.drawDelay = false;
            if (this.spriteSheet) this.img1_9.texture = this.spriteSheet.getTexture("type1_9");
            this.img1_9.drawDelay = false;
            this.groupType2.drawDelay = false;
            if (this.spriteSheet) this.img2_1.texture = this.spriteSheet.getTexture("type2_01");
            this.img2_1.drawDelay = false;
            if (this.spriteSheet) this.img2_2.texture = this.spriteSheet.getTexture("type2_02");
            this.img2_2.drawDelay = false;
            if (this.spriteSheet) this.img2_3.texture = this.spriteSheet.getTexture("type2_03");
            this.img2_3.drawDelay = false;
            if (this.spriteSheet) this.img2_4.texture = this.spriteSheet.getTexture("type2_04");
            this.img2_4.drawDelay = false;
            if (this.spriteSheet) this.img2_5.texture = this.spriteSheet.getTexture("type2_05");
            this.img2_5.drawDelay = false;
            if (this.spriteSheet) this.img2_6.texture = this.spriteSheet.getTexture("type2_06");
            this.img2_6.drawDelay = false;
            if (this.spriteSheet) this.img2_7.texture = this.spriteSheet.getTexture("type2_07");
            this.img2_7.drawDelay = false;
            if (this.spriteSheet) this.img2_8.texture = this.spriteSheet.getTexture("type2_08");
            this.img2_8.drawDelay = false;
            if (this.spriteSheet) this.img2_9.texture = this.spriteSheet.getTexture("type2_09");
            this.img2_9.drawDelay = false;
            this.groupType3.drawDelay = false;
            if (this.spriteSheet) this.img3_1.texture = this.spriteSheet.getTexture("type2_1");
            this.img3_1.drawDelay = false;
            if (this.spriteSheet) this.img3_2.texture = this.spriteSheet.getTexture("type2_2");
            this.img3_2.drawDelay = false;
            if (this.spriteSheet) this.img3_3.texture = this.spriteSheet.getTexture("type2_3");
            this.img3_3.drawDelay = false;
            if (this.spriteSheet) this.img3_4.texture = this.spriteSheet.getTexture("type2_4");
            this.img3_4.drawDelay = false;
            if (this.spriteSheet) this.img3_5.texture = this.spriteSheet.getTexture("type2_5");
            this.img3_5.drawDelay = false;
            if (this.spriteSheet) this.img3_6.texture = this.spriteSheet.getTexture("type2_6");
            this.img3_6.drawDelay = false;
            if (this.spriteSheet) this.img3_7.texture = this.spriteSheet.getTexture("type2_7");
            this.img3_7.drawDelay = false;
            if (this.spriteSheet) this.img3_8.texture = this.spriteSheet.getTexture("type2_8");
            this.img3_8.drawDelay = false;
            if (this.spriteSheet) this.img3_9.texture = this.spriteSheet.getTexture("type2_9");
            this.img3_9.drawDelay = false;
            if (this.spriteSheet) this.btnAgain.texture = this.spriteSheet.getTexture("page04-15");
            this.btnAgain.drawDelay = false;
            if (this.spriteSheet) this.btnPage.texture = this.spriteSheet.getTexture("page02-11");
            this.btnPage.drawDelay = false;
            this.groupMask.drawDelay = false;
            this.mask1.drawDelay = false;
            this.groupLabel.drawDelay = false;
            this.label1.drawDelay = false;
            this.label2.drawDelay = false;
            this.label3.drawDelay = false;
            this.label4.drawDelay = false;
            //模板temp
            this.temp.validateNow();

        }
    }
}