home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Nave / dtunnel.swf / scripts / DefineSprite_106 / frame_4 / DoAction.as
Encoding:
Text File  |  2006-06-13  |  254 b   |  17 lines

  1. tb = getBytesTotal();
  2. lb = getBytesLoaded();
  3. v = int(lb / tb * 100);
  4. thebar.setValue(v);
  5. if(lb < tb)
  6. {
  7.    gotoAndPlay(_currentframe - 1);
  8. }
  9. else if(thebar.mv == thebar.thebar._x)
  10. {
  11.    play();
  12. }
  13. else
  14. {
  15.    gotoAndPlay(_currentframe - 1);
  16. }
  17.