home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Nave / timepilot.swf / scripts / DefineSprite_18 / frame_1 / DoAction.as
Encoding:
Text File  |  2007-03-13  |  158 b   |  7 lines

  1. PercentLoaded = _root.getBytesLoaded() / _root.getBytesTotal() * 100;
  2. LoadingBar._xscale = PercentLoaded;
  3. if(PercentLoaded == 100)
  4. {
  5.    _root.play();
  6. }
  7.