I'm trying to make a loading thing for a large flash file i'm making... but the percentage won't go up. This is what i've done:
1. I have put a whole seperate scene before the main one, with 2 keyframes, with actions like this:
Keyframe one:
Some Dynamic Text onstage with the variable "percent" associated with it, and the following actions:
Code:percent = int(framesloaded / _totalframes * 100) + "%";
if (framesloaded == _totalframes) {
gotoAndPlay(3);
}
Keyframe two:
Code:gotoAndPlay(1);
The idea is that frame one will display the percentage of the frames that are loaded, then go to frame two, which'll send it back to frame one, effectively updating the percentage bar.
but when i test movie with streaming turned on, it just stays on 0% (until the end where it randomly goes to 89% immediately before starting the movie) [ie playing the next main scene]
argh any help would be wonderful
No one has replied yet! Why not be the first?
Sign in or Join us (it's free).