Hi all, i am trying to make a preloader whereby the ball will keep bouncing and repeat back to “ballFrame” until it finished loading and continue to play;
below is the script
onEnterFrame = function(){
getLoad = getBytesLoaded();
getTotal = getBytesTotal();
counter = Math.round((getLoad/getTotal)*100);
if(counter != 100){
gotoAndPlay(“ballStart”);
}else{
play();
}
}
but my ball just hang on the “ballFrame” and i dont know what wrong with the script.
Below is the link to the fla file.
www.thouartscene.com/flash/openingTest.fla
Thxs for reading