Hey I was wondering if there was any way in flash to preload a movie or intro up to the point dependant on your connection speed whereby the partially loaded intro will only start playing when it's forecasted to be finished downloading before it finishes playing?

Yea, so if the time it'll take to finish loading is less than the time it takes to play the movie, then it'll start playing (hopefully).

Also, how does flash load things? Does it do it in order, so say if something in my library is higher in the hierachy then it gets played first, or if a sound event occurs in my intro then it gets loaded first, or does it just loads anything when it feels like it?



I know that the above isn't worded too great, so I'll try and do it schematically/comparitively:

(some of my concept code, sorry if it looks a bit.. ugly)

avgSpeed += (_root.getBytesLoaded()-prevLoaded)/frameRate;//frameRate (var) determines the time interval between the frames ie: intervals where getBytesLoaded() is measured
avgSpeed = avgSpeed/2;//The avg bandwidth (bps)
prevLoaded = _root.getBytesLoaded();

//Find how long it will take to load the rest
time = (_root.getBytesTotal()-_root.getBytesLoaded())/avgSpeed;
if(time>(frames*frameRate))
{
gotoAndPlay(1);
}
//otherwise start movie.