home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Puzzle / sparks.swf / scripts / DefineSprite_22 / frame_1 / DoAction.as
Encoding:
Text File  |  2005-09-29  |  181 b   |  10 lines

  1. PercentLoaded = _root.getBytesLoaded() / _root.getBytesTotal() * 100;
  2. if(PercentLoaded != 100)
  3. {
  4.    setProperty(bar, _xscale, PercentLoaded);
  5. }
  6. else
  7. {
  8.    gotoAndStop(3);
  9. }
  10.