home *** CD-ROM | disk | FTP | other *** search
/ Champak 48 / cdrom_image.iso / Games / numbersequence.swf / scripts / frame_1 / DoAction.as
Encoding:
Text File  |  2007-09-27  |  534 b   |  24 lines

  1. function onMenuButtonStart(nStage)
  2. {
  3.    m_nStage = nStage;
  4.    this.gotoAndStop("LGame");
  5. }
  6. function onMenuButtonRanking()
  7. {
  8.    SoundButton.start();
  9.    this.getURL(m_szViewURL,"_blank");
  10. }
  11. function onReadmeButton()
  12. {
  13.    this.gotoAndStop("LMenu");
  14. }
  15. function onGameButtonOver()
  16. {
  17.    this.gotoAndStop("LMenu");
  18. }
  19. var m_szViewURL = "http://www.beastex.com/cgi-bin/beastex/cocoflash/spa/rankview.cgi";
  20. var m_nStage;
  21. var m_bTutorial = true;
  22. var SoundButton = new Sound(_root);
  23. SoundButton.attachSound("SoundButton");
  24.