Old Articles - 3 years, 9 months ago - 0 Comments
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.
Note: This is an old article!
Please be aware that the content of this article may no longer be accurate and the links contained within could be broken.
Update Notifications
You can add our RSS feed to your favorite feed reader or recieve an email when a new article is posted by entering your email address below.
FLASH EXPERTS
- Andre Michelle
- Aral Balkan
- Big Spaceship
- Chafic Kazoun
- Colin Moock
- Craig Swann
- Erik Natzke
- Grant Skinner
- Jesse Warden
- John Grden
- Keith Peters
- Lee Brimelow
- Lord Alex
- Mario Kingemann
- Matt Voermn
- Ralph Hauwert
- Richard Leggett
- Trevor McCauley
FLASH COMPONENTS
- AFComponents
- Components Network
- Extend Studio
- Flash Relief
- Flash Store
- Flashden
- Flashloaded
- Ghostwire
- Image Vue
- Jumpeye
- Page Flip Component
- Slideshowpro
FLASH VIDEO
- Akamai
- FFMPEG
- FlashComGuru
- Flashstreamworks
- FLV Player
- FLVMDI
- flvPlayerPro
- FLVTool2
- Influxis
- JW FLV Player
- Vital Stream
FLASH RESOURCES
- Actionscript.org
- Adobe Labs
- Developer Center
- Flash Interface
- Flash Player Statistics
- Flashkit
- Kirupa
- MDM Zinc
- OSFlash
- PaperVision3D
- SWXFormat
- Tweener
SPONSORS
More In Actionscript
- Adobe MAKE SOME NOISE
- Undocumented Actionscript 3
- BitmapData.loadBitmap gone in AS3
- Actionscript 3 - New Capabilities
- Flash 8 - setTimeout

