home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Diversos / carreras.swf / scripts / frame_1 / DoAction.as
Encoding:
Text File  |  2008-09-26  |  513 b   |  20 lines

  1. stop();
  2. _root.kongregateServices.connect();
  3. _global.coxe = 1;
  4. _global.pista = 1;
  5. _global.t1 = 0;
  6. _global.t2 = 0;
  7. _global.t3 = 0;
  8. onEnterFrame = function()
  9. {
  10.    totalBytes = Math.round(getBytesTotal() / 1024);
  11.    loadedBytes = Math.round(getBytesLoaded() / 1024);
  12.    percentDone = Math.round(loadedBytes / totalBytes * 100);
  13.    _root.Progress_Mc.gotoAndStop();
  14.    if(_root._framesloaded >= _root._totalframes)
  15.    {
  16.       _root.Progress_Mc._alpha = 0;
  17.       _root.kongregateintro.play();
  18.    }
  19. };
  20.