home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Estrategia / scooby.swf / scripts / frame_20 / DoAction.as
Encoding:
Text File  |  2006-06-13  |  505 b   |  29 lines

  1. if(_framesloaded >= PRELOADFRAMES)
  2. {
  3.    if(_parent != null)
  4.    {
  5.       if(gameMC.gInitGame == null)
  6.       {
  7.          gameMC.gInitGame = true;
  8.          containerMC.init();
  9.       }
  10.       gameMC.gDebug = "InContainer\n";
  11.    }
  12.    else if(gameMC.gLoadHSScripts == true)
  13.    {
  14.       gameMC.gDebug = "WaitingForScripts\n";
  15.       if(gameMC.hs_scripts.gLoaded == true)
  16.       {
  17.          gotoAndPlay(23);
  18.       }
  19.    }
  20.    else
  21.    {
  22.       gotoAndPlay(23);
  23.    }
  24. }
  25. else
  26. {
  27.    gotoAndPlay(2);
  28. }
  29.