home *** CD-ROM | disk | FTP | other *** search
/ Champak 106 / Vol 106.iso / games / rain_for.swf / scripts / frame_2 / DoAction.as
Encoding:
Text File  |  2010-04-12  |  652 b   |  30 lines

  1. stop();
  2. nMedium = 700;
  3. nLow = 300;
  4. nCPU = _global.performance.processor;
  5. if(nCPU <= nMedium)
  6. {
  7.    _global.sLowEnd = "MEDIUM";
  8. }
  9. else
  10. {
  11.    _global.sLowEnd = "HIGH";
  12. }
  13. _global.bMute = false;
  14. _global.bBackFromPrint = false;
  15. _global.alertVol = 30;
  16. oBase = new smashing.Base();
  17. _global.bMute = false;
  18. smashing.Viewport.init(600,340);
  19. this.onEnterFrame = function()
  20. {
  21.    var _loc3_ = this.getBytesLoaded() / this.getBytesTotal();
  22.    var _loc2_ = this.mcLoader.mcBar;
  23.    _loc2_.gotoAndStop(Math.ceil(_loc3_ * _loc2_._totalframes));
  24.    if(_loc3_ == 1)
  25.    {
  26.       this.gotoAndStop("splash");
  27.       delete this.onEnterFrame;
  28.    }
  29. };
  30.