home *** CD-ROM | disk | FTP | other *** search
/ Geek Games #12 / GEGA012.iso / eroticos / spermananalodyssea.swf / scripts / frame_1 / DoAction.as
Text File  |  2005-11-04  |  297b  |  13 lines

  1. total = _root.getBytesTotal();
  2. cargados = _root.getBytesLoaded();
  3. if(total == cargados)
  4. {
  5.    _root.txtCargados.text = "GO!";
  6.    _root.gotoAndPlay("calidad");
  7. }
  8. else
  9. {
  10.    _root.cargador._xscale = cargados * 100 / total;
  11.    _root.txtCargados.text = Math.floor(cargados * 100 / total);
  12. }
  13.