home *** CD-ROM | disk | FTP | other *** search
- function changeFrames()
- {
- gotoAndPlay(8);
- }
- endG.swapDepths(25000);
- endG.onRelease = function()
- {
- clearInterval(timer.timeInt);
- statBar.removeMovieClip();
- back.removeMovieClip();
- board.removeMovieClip();
- confirm2.removeMovieClip();
- bm.removeMovieClip();
- confirm.removeMovieClip();
- gotoAndPlay(12);
- this.removeMovieClip();
- };
- hint.m = [];
- Key.addListener(keyListener);
- var backg = random(17);
- backg++;
- changeBack(backg);
- if(!rRT)
- {
- createTileList();
- }
- copyTiles();
- createBoard();
- if(game.js)
- {
- startTimer();
- game.js = false;
- }
- else
- {
- timer.timeInt = setInterval(updateTime,1000);
- }
- _root.attachMovie("statBar","statBar",9001);
- statBar._x = 211.4;
- statBar._y = 381;
- statBar.score.text = game.score;
- if(timer.second < 10)
- {
- statBar.time.text = timer.minute + ":0" + timer.second;
- }
- else
- {
- statBar.time.text = timer.minute + ":" + timer.second;
- }
- _root.hint.fHint = false;
- _root.hint.fAT = true;
- _root.onEnterFrame = function()
- {
- };
- stop();
-