# Help With XML Preloader

**URL:** <https://forum.kirupa.com/t/help-with-xml-preloader/266234>\
**Category:** flash\
**Created:** [July 17, 2008, 2:35pm UTC](https://forum.kirupa.com/t/help-with-xml-preloader/266234 "2008-07-17T14:35:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daimz](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/daimz/32/2383_2.png) [@Daimz](https://forum.kirupa.com/u/Daimz)\
**Post date:** [July 17, 2008, 2:35pm UTC](https://forum.kirupa.com/t/help-with-xml-preloader/266234/1 "2008-07-17T14:35:18Z")

</div>

I am trying to create some sort of gallery where when the next button is pressed it PRELOADS the next image in the XML in to the designated MC. I have attached a copy of the file so that what I am saying makes more sense. I have got it all working except for the animating of the preloader. Would someone mind having a look at the file and telling me where I have made a mistake(pretty sure it is with this part " preloader.preload\_bar.\_xscale = 100\*loaded/filesize; " But I can seem to work it out. Also if there is a better way of doing this I am open to sugestions.

[http://www.arctosdesign.com/trial.zip](http://www.arctosdesign.com/trial.zip)
