Packageat.events
Classpublic class NavigationErrorEvent
InheritanceNavigationErrorEvent Inheritance flash.events.Event

Class that sets static constant variables that communicate to the application when there has been an error during the change with the parameters of the Navigation Manager.



Public Properties
 PropertyDefined by
  errorCode : String
The error code for the error in navigation.
NavigationErrorEvent
  errorMessage : String
The reason for the navigation error.
NavigationErrorEvent
Public Methods
 MethodDefined by
  
NavigationErrorEvent(type:String, errorCode:String = "", errorMessage:String = "", bubbles:Boolean = false, cancelable:Boolean = false)
Constructor.
NavigationErrorEvent
Public Constants
 ConstantDefined by
  NAVIGATION_ERROR : String = "navigationError"
[static] The NavigationErrorEvent.NAVIGATION_ERROR constant defines the value of the type property of the event object for a navigationRequest event.
NavigationErrorEvent
Property detail
errorCodeproperty
public var errorCode:String

The error code for the error in navigation.

The default value is null.

errorMessageproperty 
public var errorMessage:String

The reason for the navigation error.

The default value is null.

Constructor detail
NavigationErrorEvent()constructor
public function NavigationErrorEvent(type:String, errorCode:String = "", errorMessage:String = "", bubbles:Boolean = false, cancelable:Boolean = false)

Constructor.

Parameters
type:String — The type of the event
 
errorCode:String (default = "") — The error code for the event
 
errorMessage:String (default = "") — The reason for the error
 
bubbles:Boolean (default = false) — Specifies if the event bubbles
 
cancelable:Boolean (default = false) — Specifies if the event can be cancelled
Constant detail
NAVIGATION_ERRORconstant
public static const NAVIGATION_ERROR:String = "navigationError"

The NavigationErrorEvent.NAVIGATION_ERROR constant defines the value of the type property of the event object for a navigationRequest event.