Guest User

Untitled

a guest
Apr 8th, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. percentageloaded = Math.floor(getBytesLoaded() / getBytesTotal() * 100);
  2. filepercent = percentageloaded + "%";
  3. if (percentageloaded >= 100)
  4. {
  5.     play();
  6. } else {
  7.     gotoAndPlay(1);
  8. }
Add Comment
Please, Sign In to add comment