Hi, I have a list of images, and when I click on an item in the list, I fire off an event to go find the url of the image and I have another eventlistener that waits and loads the image when the correct url is returned. All works great
When the user clicks on many items in the list, the events get queued and the images slowly load one after the other and the last image finally gets loaded. If the queue gets large - I just want to skip over everything and just load the last one. I would like to clear out all events and just load the last image clicked on, what's a good/proper way of doing this? add and eventlistener and remove the eventlistener for each image? keep track of the last image clicked on and ignore the other events coming in? thanks

