In Flash MX you can use the _framesLoaded property.
So, say I have a show which has 3 sections; each 500 frames long. In my true preloader below I only preload the first 500 frames:
if (_framesloaded>=500) {
gotoAndPlay(“firstsection”, 1);
} else {
//Do whatever you want to do to your preloader indicator
}
The rest of the show will continue to stream download as it’s playing the first segment. You can then insert a mid-preloader with similar code at the start of the second segment of your show.
if (_framesloaded>=1000) {
gotoAndPlay(“secondsection”, 1);
} else {
//Do whatever you want to do to your preloader indicator
}
and so on. It’s possible that by the time you get to the mid-preloader, some or most of that section of the show will have already loaded while the first was playing. That’s the beauty of streaming!
hey that is awesome man thanks!
yeah thats the ticket…
that way it is like streaming the movie…
I would just have it stop and wait until the other part is loaded…
if (_framesloaded>=500) {
gotoAndPlay(“firstsection”, 1);
} else {
//Do whatever you want to do to your preloader indicator
}
stop);