home *** CD-ROM | disk | FTP | other *** search
/ Champak 40 / Vol 40.iso / games / super_su.swf / scripts / frame_3 / DoAction.as
Encoding:
Text File  |  2007-04-19  |  320 b   |  14 lines

  1. gPercentage = Math.ceil(_root.getBytesLoaded() / _root.getBytesTotal() * 100);
  2. MLoader.gotoAndStop(gPercentage);
  3. vPercentage = gPercentage + "%";
  4. if(myGameObject.MainMovieIsLoaded())
  5. {
  6.    myGameObject.GetExternalParameters();
  7.    myGameObject.PreloadExternalGraphics();
  8.    play();
  9. }
  10. else
  11. {
  12.    prevFrame();
  13. }
  14.