preloader Question
preloader Question
Out of context: Reply #4
- Started
- Last post
- 4 Responses
- fixate0
got it. different to how you said. but thanks for the help.
var loadAmount = _totalframes;
if (_framesloaded == loadAmount) {
gotoAndPlay("beginMovie");
} else {
loaded = Math.round(getBytesLoaded() / 1024);
total = Math.round(getBytesTotal() / 1024);
percent = Math.round((loaded/total) * 100);myMovie._alpha = percent;
gotoAndPlay("prevFrame");
}