Geoff
July 11th, 2003, 05:03 AM
Well we all have to learn.
I use a variable to show the percentage loaded number in a dynamic text box. The problem I have is that it only works when there is more than 1 frame in the preloader scene.
My guess is, that when there is only one frame, the code is not being refreshed to update the text box.
ie
var percentage;
percentage = math.round( getBytesLoaded() / getBytesTotal() * 100);
can someone please sort me out
Thanks
geoff
I use a variable to show the percentage loaded number in a dynamic text box. The problem I have is that it only works when there is more than 1 frame in the preloader scene.
My guess is, that when there is only one frame, the code is not being refreshed to update the text box.
ie
var percentage;
percentage = math.round( getBytesLoaded() / getBytesTotal() * 100);
can someone please sort me out
Thanks
geoff