Generic Preloader <= 1k

Nothing too exciting, but quite useful. Recently i got really sick of creating the same old preloader, over and over again and so i finally got around to making a Flash Movie, which contains a smooth preloader bar. You can pass the name of a movie into the preloader movie using the object/embed tags and it will preload it. You can also resize the preloader movie in the object/embed tags of the containing html page and the preloader bar will center itself inside the movie. Now as i said this is a smooth preloader bar, which means it resizes using intertia, as opposed to simply jumping to its new size, which is a funky little effect. The other good thing, is that the preloader movie itself, is actually less than 1k in size.

Remember, if you use this preloader movie, that the movie you are loading should not contain any actionscript that references root (absolute references), this is bad practice anyway, you should always right code with relative references. The source is here, so you can change the graphics.

Embed this preloader in your HTML page using the following XHTML compliant object/embed markup (AKA Flash Satay):

<object type='application/x-shockwave-flash' data='generic%20preloader.swf?movie=yourFlashMovie.swf' width='400' height='300'>
    <param name='movie' value='generic%20preloader.swf?movie=yourFlashMovie.swf' />
</object>

Modify the items in bold above to reflect the state of the movie you want to load.

Comments are closed.