# Loading bar!

**URL:** https://forum.kirupa.com/t/loading-bar/135293
**Category:** Uncategorized
**Created:** [January 26, 2005, 8:54am UTC](https://forum.kirupa.com/t/loading-bar/135293 "2005-01-26T08:54:37Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![TurboMan](https://avatars.discourse-cdn.com/v4/letter/t/df788c/32.png) [@TurboMan](https://forum.kirupa.com/u/TurboMan)
#### Post date: [January 26, 2005, 8:54am UTC](https://forum.kirupa.com/t/loading-bar/135293/1 "2005-01-26T08:54:37Z")

</div>

Hi,

I made a site in FlashMX at [www.websitedesign.ro](http://www.websitedesign.ro/)

Every button load another .swf file  
I don’t know how to put a loading bar at the beginning so that when the user press the home button (for example) to see a loading bar instead of waiting , because it takes time to load the home.swf file when you visit it for the first time .

How can I put there a loading bar , while the home.swf is completely loaded?

On the buttons to load the home.swf I used this ActionScript:

[color=red]on (release) {  
\_root.contents.loadMovie(“home.swf”);  
}  
on (release) {  
\_root.contents2.loadMovie(“film jos.swf”);  
}  
on (release) {  
\_root.contents3.loadMovie(“film sus.swf”);  
}[/color]

I used three movies in three different locations

Thanx!
