First time here? First time here? Newsletter Signup Newsletter
Search tutorials
Author: Michael Georges

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

Added: 2001-01-22
Rating: 8 Votes: 382
(10 being the highest)
» Author
No author details available.
» Download
Download the files used in this tutorial.
» Forums
More help? Search our boards for quick answers!
Featured Flash FLA
» Author: Inocreato
» Title: RaiseTheBlocks
» Description: Raise all the blocks to win the game
Featured Sound Loops
Image for equalize

Audio Player

» Author: TomCat Carty
» Title: The Wood
» Description: Just a little game ending or it can maybe be looped. Recorders with music box and percussion to give the feel of well, I don't know, the woods? Free to use, just credit me. thank you
Latest Font
» Author: Fábio FAFERS
» Description: I created this font for free use. Everyone can apply it in personal or business texts. Its free, but I want to be communicated in case of business use. Donations are accepted to keep the project of free fonts alive! Thank you all
Featured Sound Fx
Image for equalize

Audio Player

» Author: Davisigner
» Description: Hmm... what to say about this one? It's reminiscent of the closing notes of the opening music from the Three Stooges done in a church organ style with a closing cymbal crash. I'll give this one away gratis, but feel free to check out my free loops and potential upcoming license-mandated ones over in the respective part of Flashkit.