IOErrorEvent
An IOErrorEvent object is dispatched when an error causes input or output operations to fail.
The string defined by the text parameter of the IOErrorEvent constructor is displayed.
Inherited from ErrorEvent.
Can be created using method new:
Lib.Media.Events.IOErrorEvent.new(type, bubbles, cancelable, text, id) |
Creates an Event object that contains specific information about ioError events. |
type - The type of the event. Event listeners can access this information through the inherited type property. There is only one type of input/output error event: IOErrorEvent.IO_ERROR. bubbles - (default = false) - Determines whether the Event object participates in the bubbling stage of the event flow. Event listeners can access this information through the inherited bubbles property. cancelable - (default = false) - Determines whether the Event object can be canceled. Event listeners can access this information through the inherited cancelable property. text - (default = "") - Text to be displayed as an error message. Event listeners can access this information through the text property. id - (default = 0) — A reference number to associate with the specific error. |
Created IOErrorEvent object has methods:
clone() |
Creates a copy of the IOErrorEvent object and sets the value of each property to match that of the original. |
|
toString() |
Returns a string that contains all the properties of the IOErrorEvent object. |
|
Event types:
Lib.Media.Events.IOErrorEvent.IO_ERROR |
Defines the value of the type property of an ioError event object. |
Created with the Personal Edition of HelpNDoc: Free EPub and documentation generator