all you should have to do is change the event type to match the one
that is being coerced. When ever you see a "Type Coercion failed"
error it means that one type is trying to be converted into another
type, is this case it is trying to convert an IOErrorEvent into a
HttpErrorEvent. So all you should have to do is change the 'event'
function parameter to be typed as IOErrorEvent:
onError: function(event:IOErrorEvent):void {
Alert.show(event.text, "HTTP Error");
trace(event);
trace("httpError", event.text);
},