home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Puzzle / Easter_Eggs.swf / scripts / __Packages / com / novelgames / flashgames / commonAS2 / Title.as < prev    next >
Text File  |  2008-09-04  |  755b  |  32 lines

  1. class com.novelgames.flashgames.commonAS2.Title extends MovieClip
  2. {
  3.    function Title()
  4.    {
  5.       super();
  6.       this.startButton.onRelease = function()
  7.       {
  8.          this._parent.startButtonClicked();
  9.       };
  10.       this.highScoresButton.onRelease = function()
  11.       {
  12.          this._parent.highScoresButtonClicked();
  13.       };
  14.       this.moreGamesButton.onRelease = function()
  15.       {
  16.          this._parent.moreGamesButtonClicked();
  17.       };
  18.    }
  19.    function startButtonClicked()
  20.    {
  21.       this._parent.gotoInstructionsPage();
  22.    }
  23.    function highScoresButtonClicked()
  24.    {
  25.       this._parent.showHighScores();
  26.    }
  27.    function moreGamesButtonClicked()
  28.    {
  29.       this.getURL("http://www.fupa.com/","_blank");
  30.    }
  31. }
  32.