# URL image load event complete Now What?

**URL:** <https://forum.kirupa.com/t/url-image-load-event-complete-now-what/286563>\
**Category:** flash\
**Created:** [April 17, 2009, 4:22am UTC](https://forum.kirupa.com/t/url-image-load-event-complete-now-what/286563 "2009-04-17T04:22:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rokosz](https://avatars.discourse-cdn.com/v4/letter/r/b5e925/32.png) [@rokosz](https://forum.kirupa.com/u/rokosz)\
**Post date:** [April 17, 2009, 4:22am UTC](https://forum.kirupa.com/t/url-image-load-event-complete-now-what/286563/1 "2009-04-17T04:22:54Z")

</div>

Hi folks, Maybe its spring fever - but I just feel dumb, certainly lost.  
Converting from AS2 to AS3. I’ve finally gotten an XML element read and loaded. Its a jpg. Now I’d like to actually see it on the stage via assignment into a stage/ide instance.

but the e.complete listener doesn’t seem to know about the loader. How can I pass it to the listener? Should I? Do I need to load the loader, again, into some more suitable container before assigning it to the instance? And, how do I pass the index counter so I can “assign” …mc1, mc2 etc.?  
code follows. thanks for all the clear(er) thinking help. B

for (var i:int=0; i\<imageList.length()-1; i++)  
{  
var request:URLRequest = new URLRequest(imageList\*);  
image\_mcl.load(request);  
image\_mcl.addEventListener(Event.COMPLETE, thumbAdjust);

}

function thumbAdjust(e:Event):void {  
Thumbs.thumbnail\_mc0 = image\_mcl.data // 1120 access of undefined property  
};
