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
};