Levels

level

package com.levels{
    import flash.display.MovieClip;
    public class level extends MovieClip{
        private var ID:int;//For level 1, ID would be 1.  For level 2, the ID would be 2. etc. 

        public function level(ID:int=0):void {
            this.ID=ID;
        }
        private function buildLevel():void {
        }
        public function build() {
        }

    }
}

levelControl

package com.levels{
    import flash.utils.getDefinitionByName;
    public class levelControl {
        private var ID:int;//For level 1, ID would be 1.  For level 2, the ID would be 2. etc. 
        public function levelControl(ID:int=0):void {
            this.ID=ID;
        }

    }
}

level1Control

package com.levels{
    import flash.display.MovieClip;
    public class level1Control extends levelControl{
        private var ID:int;//For level1Control 1, ID would be 1.  For level1Control 2, the ID would be 2. etc. 
        private var levelPuppet:level;
        public function level1Control(levelPuppet:level):void {
            this.levelPuppet=levelPuppet;
        }
    }
}
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License