I have made this loadthing that only shows the progress in percent,
but I only see 99% and 100%!
I’m not good at explaining, but I hope you get it
Here’s what I have done:
I have 3 keyframes, and in the third I have the clip itself with a stop(); actionscript.
In the first frame i have a dynamic text square that has the instant name ‘myOutput’.
The actionscript for that frame is:
percent = Math.floor(getBytesLoaded()/getBytesTotal()*100);
myOutput.text = percent + “% is loaded”;
In the second frame I just copied the text square, but I changed the actionscript to:
if (percent == 100){
gotoAndStop(3);
}else{
gotoAndPlay(1);
}
What did I do wrong? Thank you in advance!