# Load Progress Indicator troubles

**URL:** <https://forum.kirupa.com/t/load-progress-indicator-troubles/21595>\
**Category:** flash\
**Created:** [May 23, 2003, 4:01pm UTC](https://forum.kirupa.com/t/load-progress-indicator-troubles/21595 "2003-05-23T16:01:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Berryblue](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/berryblue/32/182_2.png) [@Berryblue](https://forum.kirupa.com/u/Berryblue)\
**Post date:** [May 23, 2003, 4:01pm UTC](https://forum.kirupa.com/t/load-progress-indicator-troubles/21595/1 "2003-05-23T16:01:18Z")

</div>

I have a flash application that works as follows  
-screen is displayed  
-xml file read (file contains an unknown number of items)  
-list box populated with movieclips for every item in the xml file

What I want to do is display some sort of loading message until all the items have been populated in the list box and are displaying on the screen.

I tried using the preloader component and my own creation with various techniques with no luck. Am I missing something?

Can anyone help

Thank you

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 23, 2003, 6:30pm UTC](https://forum.kirupa.com/t/load-progress-indicator-troubles/21595/2 "2003-05-23T18:30:45Z")

</div>

post your code for which loads your xml file

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 23, 2003, 7:53pm UTC](https://forum.kirupa.com/t/load-progress-indicator-troubles/21595/3 "2003-05-23T19:53:32Z")

</div>

I can’t really post the code that reads the XML it is fairly large and complicated spread over a few classes.

-Each item in the XML is read into a Class say xmlItem  
-xmlItem extends the flash MovieClip object  
-after all xmlItems have been created a function called populate() is called  
-populate takes each xmlItem and places them in their last saved position  
-the position can be one of two places on the grid, or in the unused “bin” (this bin is a listbox)  
-populate sets the xmlItems to display properly (small icons in the bin and big icons on the grid)  
-populate draws arrows between linked xmlItems on the grid

While all of this is happening I want to have a preloader displaying because it takes about 4 seconds and the movie is just stalled then everything appears at once.

The preloader component isnt working for me… the only reason I can think of is because the main movie is loaded properly but new movies are being added to it dynamically

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 23, 2003, 9:37pm UTC](https://forum.kirupa.com/t/load-progress-indicator-troubles/21595/4 "2003-05-23T21:37:58Z")

</div>

no i meant post your AS code forwhich loads the xm,l in your text file, you can make a message in there. simple if statement
