home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Puzzle / Drifter.swf / scripts / DefineSprite_13 / frame_1 / DoAction.as
Encoding:
Text File  |  2005-08-05  |  308 b   |  15 lines

  1. percentLoad = int(getProperty("/", _framesloaded) / getProperty("/", _totalframes) * "100");
  2. if(percentLoad >= "100")
  3. {
  4.    percentLoad = "100";
  5.    gotoAndStop(3);
  6.    tellTarget("statusbar")
  7.    {
  8.       gotoAndStop(100);
  9.    }
  10. }
  11. tellTarget("statusbar")
  12. {
  13.    gotoAndStop(eval("..:percentLoad"));
  14. }
  15.