Listeners - need help

Hey,

I hope somebody can help me out here.
I have a bunch of xml results. From one of the nodes I get and img url that gets loaded into a loader componet from the dataset.

There is some latency betwwen loading the images so I came up with this preloader type mc which seems to work about 50% of the time.


var listenerObject:Object = new Object();
listenerObject.change = function(evt_obj:Object) {
    var Url:String = evt_obj.target.selectedItem.Url;
       _global.productURL = Url;
};
display = new Object();
display.updateData = function(index) {
    picz.load(Url);
};
//When loading an image (Loader component)
display.progress = function(evt) {
    attachMovie("death", "death", 1, {_x:death._x=100, _y:death._y=290});
    loading = "Loading" ;
};
//When finish loading an image (Loader component)
display.complete = function(evt) {
    unloadMovie("death");
    loading = "" ;
};
picz.addEventListener("progress", display);
picz.addEventListener("complete", display);
//finish loading image
myDataGrid.addEventListener("change", listenerObject);


Sometimes the mc shows, then it does’nt. Seems like something may be cached, or needs to be cleared.

Any help much appreciated…
thx