hello, this was probably asked before. but i cant seem to form a search term to search for this.
i have a preloader.
1 problem is it doesnt show the progress right. it just stays on one number and then loads the movie.
2nd problem is say the movie was loaded i refresh the page preloader still comes up. i mean the movie’s already loaded why cant it skip the preloader?
code is
Code:
LOADED = Math.round(getBytesLoaded());
TOTAL = Math.round(getBytesTotal());
if (LOADED >= TOTAL)
{
GoToAndPlay(“main”,1);
}else{
percent = LOADED / TOTAL * 100 + ‘%’;
GotoAndPlay(1);
}
if you could help
thank you