# Preloading Images + Image Array

**URL:** <https://forum.kirupa.com/t/preloading-images-image-array/272426>\
**Category:** flash\
**Created:** [October 5, 2008, 6:18am UTC](https://forum.kirupa.com/t/preloading-images-image-array/272426 "2008-10-05T06:18:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![VaLL](https://avatars.discourse-cdn.com/v4/letter/v/4491bb/32.png) [@VaLL](https://forum.kirupa.com/u/VaLL)\
**Post date:** [October 5, 2008, 6:18am UTC](https://forum.kirupa.com/t/preloading-images-image-array/272426/1 "2008-10-05T06:18:58Z")

</div>

I’ve had a search, and I can’t find anything on this(although I’m not very good at searching :cross-eye)

I’m currently trying to make a banner that loads in X amount of images, is there a way for flash to look at how many images are in a folder, and determined how many there are make an array/variable?

I’ve also tested it at 5kb/s and the images don’t load in time for the transitions and the background is left blank, is there a way to getBytesTotal/Loaded of a .jpg to preload the images before displaying them?

Any help appreciated!
