home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Estrategia / morbus.swf / scripts / frame_1 / DoAction.as
Encoding:
Text File  |  2007-03-20  |  341 b   |  15 lines

  1. totalBytes = Math.round(getBytesTotal() / 1024);
  2. loadedBytes = Math.round(getBytesLoaded() / 1024);
  3. percentDone = Math.round(loadedBytes / totalBytes * 100);
  4. if(_root._framesloaded >= _root._totalframes)
  5. {
  6.    gotoAndStop("startt");
  7.    play();
  8. }
  9. ifFrameLoaded(439)
  10. {
  11.    percentDone = 100;
  12.    gotoAndStop("startt");
  13.    play();
  14. }
  15.