home *** CD-ROM | disk | FTP | other *** search
/ Magazyn WWW 2001 May / cd49www.iso / inne / soh_vrtour / info / offices.swf / scripts / DefineSprite_24 / frame_1 / DoAction.as
Text File  |  2001-02-26  |  298b  |  10 lines

  1. object = _root;
  2. totalsize = int(object.getBytesTotal() / 1024) + "k loading...";
  3. peter = object.getBytesLoaded() / object.getBytesTotal() * 100;
  4. loaded = int(peter);
  5. setProperty("bar.barblock", _xscale, loaded);
  6. if(object.getBytesLoaded() >= object.getBytesTotal())
  7. {
  8.    gotoAndStop(3);
  9. }
  10.