I know how to do the main scene of the preloader, where you have the looping "If Frame Is Loaded" command, but I have a question about scripting to get the actual % loaded.

I have a movie clip of a small loading animation, but I also want to have a movie clip which will display the % loaded in numbers.

In that movie clip, I have a text field labeled "percentdisp".

Then in the first frame, I have the following code:

Set Variable: "percentdisp" = (_framesloaded/_totalframes)*100 & " % "

That way, the text field would display the percent (the number of loaded frames divided by the total number of frames), but for whatever reason, it displays 100% as its value no matter how much is loading when I test it as "Show Streaming" and a 56K modem in the testing environment.

Is there a hole in my script? Please help me out.

_-bMd-_