import mx.controls.Alert; private function ioErrorHandler( ):void { Alert.show("There was an error"); }