This content has been marked as final. Show 3 replies
In the first frame of the preloader, check to see if
getBytesLoaded() == getTotalBytes()
If it does, then jump to your index scene. If not, then continue with the preloader.
You may have to put some empty frames in front of your preloader to give the movie time to register the size.
Ah but here lies another problem or opportunity (which ever way you look at it)
I have 3 scenes... (Preloader) (Preloader-Index) (Index)
The first time you visit the page, all three scenes should play in order (obviously), But say you navigate away from the page... Then decide to click 'back' in the browser and return to the swf... I only want the 3rd scene (Index) to play now, since the Flash file is already loaded, thus removing the need for the first two scenes to play.
Is there a way for Flash to know that you already have the swf cached and downloaded, thus telling it to play straight from the third scene?
I hope I explained that well enough, lol.
Thanks in advance.
Quick thought... Would something like this work... And if so, what am I doing wrong?