# Problem with loading multiple images

**URL:** <https://forum.kirupa.com/t/problem-with-loading-multiple-images/238889>\
**Category:** flash\
**Created:** [September 16, 2007, 7:27pm UTC](https://forum.kirupa.com/t/problem-with-loading-multiple-images/238889 "2007-09-16T19:27:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![realitybites](https://avatars.discourse-cdn.com/v4/letter/r/8e7dd6/32.png) [@realitybites](https://forum.kirupa.com/u/realitybites)\
**Post date:** [September 16, 2007, 7:27pm UTC](https://forum.kirupa.com/t/problem-with-loading-multiple-images/238889/1 "2007-09-16T19:27:32Z")

</div>

i want to make a thumbnail scroller therefore i need multiple images loaded.  
loading the pictures is not a problem.  
what i need is, i want to treat these images like any DisplayObject; meaning i need to use width, height properties or i want to add event listeners, which i cannot do at the moment  
here is my code(for example, i need the property in red part):

```auto
 function thumbLoad() {
    for (i=0; i<len; i++) {
        array*=new Loader();
        array*.x=index;    
        array*.y=2;    
        [COLOR=Red]index=index+4+array*.width;[/COLOR]        
        array*.load(new URLRequest(thumb*));
        Frame.addChild(array*);    
//Frame is the movieclip i load the images on    
    }
}

```
