/ Published in: ActionScript

Expand |
Embed | Plain Text
1st frame: total_bytes = _root.getBytesTotal(); loaded_bytes = _root.getBytesLoaded(); remaining_bytes = total_bytes-loaded_bytes; percent_done = int((loaded_bytes/total_bytes)*100); bar.gotoAndStop(percent_done); if (percent_done > 99) { gotoAndPlay("inicio"); } 2nd frame: gotoAndPlay(1); in another layer make the two first frames contain a mc that mc needs to have 100 frames, first one its a stop();
You need to login to post a comment.