home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Nave / rocket_rush.swf / scripts / frame_2 / DoAction.as
Encoding:
Text File  |  2007-03-20  |  194 b   |  11 lines

  1. per = 100 * _root.getBytesLoaded() / _root.getBytesTotal();
  2. if(per > 99)
  3. {
  4.    _root.gotoAndStop("menu");
  5. }
  6. else
  7. {
  8.    _root.bar.gotoAndStop(Math.round(per));
  9.    _root.gotoAndPlay(1);
  10. }
  11.