home *** CD-ROM | disk | FTP | other *** search
- stop();
- tilly.onEnterFrame = function()
- {
- this.arrowdrive(30,10,10,15,10);
- };
- chart.onRelease = function()
- {
- name = _root.name;
- score = _root.score;
- _root.attachMovie("board_score","boardcontrol",999,{_x:256,_y:192,name:"menu",tag:"end"});
- _root.menu.currentup = true;
- _parent.removeMovieClip();
- };
- text.onEnterFrame = function()
- {
- if(this._alpha = 100)
- {
- if(!this.init)
- {
- this.tallseq = 0;
- this.init = true;
- }
- switch(this.tallseq)
- {
- case 2:
- if(this.addtick < _root.addscore)
- {
- this.addtick += 1;
- _root.ticky.singleshot("ticky",true);
- if(this.addtick < 10)
- {
- this.addscore_t = "00" + this.addtick;
- }
- if(this.addtick < 100 and this.addtick > 10)
- {
- this.addscore_t = "0" + this.addtick;
- }
- if(this.addtick > 100)
- {
- this.addscore_t = this.addtick;
- }
- trace(this.addscore_t);
- _root.texter = this.addscore_t;
- }
- else
- {
- this.tallseq = 3;
- }
- break;
- case 0:
- if(this.chartext_t < _root.yoursplash)
- {
- _root.ticky.singleshot("ticky",true);
- this.chartick = this.chartick + 1;
- this.chartext_t = "0" + this.chartick;
- }
- else
- {
- this.tallseq = 1;
- }
- break;
- case 1:
- if(this.fullsecond_t < _root.fullsecond + 1)
- {
- _root.ticky.singleshot("ticky",true);
- this.fullsecond_t = this.fullsecond_t + 1;
- if(this.ticker < 10)
- {
- this.sec_t = "0" + this.ticker;
- }
- if(this.ticker > 10)
- {
- this.sec_t = this.ticker;
- }
- if(this.sec_t < 60)
- {
- this.ticker = this.ticker + 1;
- }
- else
- {
- this.minute_t = this.minute_t + 1;
- this.ticker = "00";
- }
- }
- else
- {
- this.tallseq = 2;
- }
- break;
- case 3:
- if(this.prevtick < _root.prevscore)
- {
- this.prevtick += 1;
- _root.ticky.singleshot("ticky",true);
- if(this.prevtick < 10)
- {
- this.prevscore_t = "00" + this.prevtick;
- }
- if(this.prevtick < 100 and this.prevtick > 10)
- {
- this.prevscore_t = "0" + this.prevtick;
- }
- if(this.prevtick > 100)
- {
- this.prevscore_t = this.prevtick;
- }
- }
- else
- {
- this.tallseq = 4;
- }
- break;
- case 4:
- if(this.hittick < _root.hittally)
- {
- this.hittick += 1;
- _root.ticky.singleshot("ticky",true);
- if(this.hittick < 10)
- {
- this.hittally_t = "00" + this.hittick;
- }
- if(this.hittick < 100 and this.hittick > 10)
- {
- this.hittally_t = "0" + this.hittick;
- }
- if(this.hittick > 100)
- {
- this.hittally_t = this.hittick;
- }
- }
- else
- {
- this.tallseq = 5;
- }
- break;
- case 5:
- if(this.bontick < _root.bonus)
- {
- this.bontick += 1;
- _root.ticky.singleshot("ticky",true);
- if(this.bontick < 10)
- {
- this.bonus_t = "00" + this.bontick;
- }
- if(this.bontick < 100 and this.bontick > 10)
- {
- this.bonus_t = "0" + this.bontick;
- }
- if(this.hittick > 100)
- {
- this.bonus_t = this.bontick;
- }
- }
- else
- {
- this.tallseq = 6;
- }
- break;
- case 6:
- if(this.tallyt < _root.score)
- {
- this.talltick += 1;
- _root.ticky.singleshot("ticky",true);
- if(this.talltick < 10)
- {
- this.tallyt = "00" + this.talltick;
- }
- if(this.talltick < 100 and this.talltick > 10)
- {
- this.tallyt = "0" + this.talltick;
- }
- if(this.talltick >= 100)
- {
- this.tallyt = this.talltick;
- }
- _root.prevscore = _root.score;
- }
- else
- {
- if(this.tallyt > _root.scoretop)
- {
- _root.currentlevel = _root.currentlevel + 1;
- }
- _root.scorefin.singleshot("scorefin",true);
- this.tallseq = 7;
- _root.minute = "00";
- _root.sec = "0";
- if(_root.currentlevel < 4)
- {
- _root.nextlevel.singleshot("nextlevel",true);
- }
- else
- {
- _root.finish.singleshot("finish",true);
- }
- }
- }
- }
- };
- chart.onRollOver = function()
- {
- };
-