First time here? First time here? Newsletter Signup Newsletter
Login | Register | 651326 Members and growing!
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!

Comments

  • There are no comments yet. Be the first to comment!

  • You must have javascript enabled in order to post comments.

Leave a Comment
  • Your email address will not be published. All fields are required.
Featured Flash FLA
» Author: work2survive
» Title: Girl Walking 1kb
» Description: Walking girl, animation just takes 1kb, using high heels shoes, and fashion model attitude.
Featured Sound Loops
Image for equalize

Audio Player

» Author: BoxCat
» Title: CPU Talk
» Description: From the cyberpunk RPG, "Nameless: the Hackers" Completely Free to use! Keywords: edm hip hop rap electronic mysterious mission hacking chase exciting spy ios ambient chilling love happy sad angry suspense
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: nathan
» Description:

A recorded sound of the Dimensional Fork Gate.