I am using urlLoader to load some remote content and then listen for Event.COMPLETE and IOErrorEvent.IO_ERROR.
When I get IOErrorEvent.IO_ERROR I retry the original urlLoader request.
This all works fine, however I wish to extend to support multiple request which may overlap, some on error and some not. As such I need a way to tell the function called by IOErrorEvent.IO_ERROR which request has the error.
I am thinking that if I could include a request id number this would be a neat solution.
Can IOErrorEvent.IO_ERROR include extra data?
Its possibly I am completing missing something obvious here in terms of approaching this problem.