Preloading bits at a time

Anyone know how to preload bits of a movie at a time?

Like say… show one part… and while it is showing the next part is loading…

So you effectivley stream the flash movie…

Anyone know if that can be done?

I am just thinking of a way to speed up this big movie in the middle…
http://www.videolinktechnologies.com/new/

Thanks
kj

I know how to do a standard preloader…
So that it wont play until the whole movie is loaded…

I am trying to preload the first little bit…
Play it…

While it is playing preload the second little bit…
Play it…

etc etc

That make sense?

if you mean you wanna play certain frames only i think modifying your preloader code a bit and use

_framesloaded

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! :wink:

HTH
Phil

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);

thanks man