home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Aventura / asitchintime2.swf / scripts / DefineSprite_30 / frame_1 / DoAction.as
Encoding:
Text File  |  2005-11-09  |  233 b   |  9 lines

  1. if(loadedPercent >= 100)
  2. {
  3.    _parent.gotoAndStop("titlecard");
  4.    stop();
  5. }
  6. loadedCur = _root.getBytesLoaded();
  7. loadedPercent = loadedCur / loadedTotal * 100;
  8. _parent.loadBar.gotoAndStop(int(101 - Math.abs(loadedPercent)));
  9.