What if you were to preload just the spikes?
When an object is loaded once, there is no additional overhead to display it again. So, you preload your objects that cause spikes and your site should stream just fine!
Here is what I mean:
Say you have an interface that is 200K worth of data - remember, lean and mean - you look at it on the bandwidth profiler and see that it streams just fine except for four spots - two movie clips, the vector graphic that makes up your interface, and an image from photoshop:
- MC#1 is 24K
- MC#2 is 17K
- Vector graphic is 12K
- PS Image is 22K
So, about 75K worth of data that will cause your site to stall on a dialup connection. Our normal instinct would be to just preload all of the 200K. But, we are going to preload only that 75K worth of spike so our site will stream.
You create your preloader scene, AND, you create an additional scene called "Spikes" - that is what your preloader is going to check and see if loaded. You will drag instances of each of your four objects into your timeline in "Spikes". Your preloader will check IF the last frame in Spikes is loaded and then will go to and play the first real scene in your movie. Spikes is never meant to be displayed.
Now realize that as you get better and better at designing smaller interfaces in Flash, you may not even need to do this, and, your whole design style can and will change. As your preloads get smaller, you may not need to design the traditional preloader at all - your objects may load behind a splash screen, or load as part of your intro.
I really think that this is how the really great sites do it - they rely on Flash's vector graphics as much as possible - they stay away from large bitmaps, and they design their sites to stream and they preload only the spikes...
|» Level Intermediate|
Rating: 8 Votes: 382
|No author details available.|
|Download the files used in this tutorial.|
|Download (0 kb)|
|More help? Search our boards for quick answers!|