home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Estrategia / scooby.swf / scripts / frame_1 / DoAction_3.as < prev    next >
Encoding:
Text File  |  2006-06-13  |  730 b   |  40 lines

  1. gameMC.HSLoading = function()
  2. {
  3.    if(gameMC.gLoadInit != true)
  4.    {
  5.       gameMC.gGameState = "LOADING";
  6.       gameMC.gLoadStartTime = int(getTimer() / 1000);
  7.       gameMC.gLoadInit = true;
  8.    }
  9. };
  10. gameMC.HSLoaded = function()
  11. {
  12.    tellTarget(gameMC.hs_scripts)
  13.    {
  14.       call("mLoaded");
  15.    }
  16. };
  17. gameMC.HSPlay = function()
  18. {
  19.    tellTarget(gameMC.hs_scripts)
  20.    {
  21.       call("mPlay");
  22.    }
  23. };
  24. gameMC.HSLevelStart = function()
  25. {
  26.    tellTarget(gameMC.hs_scripts)
  27.    {
  28.       call("mLevelStart");
  29.    }
  30. };
  31. gameMC.HSGameOver = function()
  32. {
  33.    gameMC.gScore = Number(gameMC.gScore);
  34.    gameMC.gLevel = Number(gameMC.gLevel);
  35.    tellTarget(gameMC.hs_scripts)
  36.    {
  37.       call("mGameOver");
  38.    }
  39. };
  40.