# Preloader for start fla - (I read the tutorial! :)

**URL:** <https://forum.kirupa.com/t/preloader-for-start-fla-i-read-the-tutorial/271561>\
**Category:** Uncategorized\
**Created:** [September 24, 2008, 5:38pm UTC](https://forum.kirupa.com/t/preloader-for-start-fla-i-read-the-tutorial/271561 "2008-09-24T17:38:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![54321](https://avatars.discourse-cdn.com/v4/letter/5/7993a0/32.png) [@54321](https://forum.kirupa.com/u/54321)\
**Post date:** [September 24, 2008, 5:38pm UTC](https://forum.kirupa.com/t/preloader-for-start-fla-i-read-the-tutorial/271561/1 "2008-09-24T17:38:01Z")

</div>

Hi!

I just tested this pre-loader tutorial

[http://www.kirupa.com/developer/flashcs3/preloader\_as3\_pg1.htm](http://www.kirupa.com/developer/flashcs3/preloader_as3_pg1.htm)

and was very impressed! I definately want to use this effect and now I even have the code integrated into a loadImage code.

Anyone know how to use it in the startup load of your whole fla though?

I figure it’s easy enough… like, creating a onLoad (??) function and then just entering the code from the tutorial somehow into that function

// Show Preloader  
preloader.visible = true;

// Hide Preloader  
preloader.visible = false;

// Get current download progress  
var loaded:Number = e.bytesLoaded / e.bytesTotal;

// Send progress info to “preloader” movie clip  
preloader.SetProgress(loaded);

(I’m using flash cs3 with AS3, thanks!)
