Packagecom.yahoo.webapis.upcoming.events
Classpublic class UpcomingErrorEvent
InheritanceUpcomingErrorEvent Inheritance flash.events.Event

Error Event class in response to data events from the Yahoo! Upcoming API.



Public Properties
 PropertyDefined by
  data : Object
Data
UpcomingErrorEvent
  errorType : String
Error Type Available errorType values: "INVALID_LOCATION" Invalid location code "XML_LOADING" The XML file was unable to load or the path does not exist.
UpcomingErrorEvent
  success : Boolean
True if the event is the result of a successful call, False if the call failed
UpcomingErrorEvent
Public Methods
 MethodDefined by
  
UpcomingErrorEvent(type:String, inData:Object)
Constructs a new UpcomingErrorEvent
UpcomingErrorEvent
Public Constants
 ConstantDefined by
  INVALID_FROB : String = "InvalidFrob"
[static] The type of event dispatched when the frob is invalid.
UpcomingErrorEvent
  XML_LOADING : String = "XMLLoading"
[static] The type of event dispatched when XML data could not be loaded from the server.
UpcomingErrorEvent
Property detail
dataproperty
data:Object  [read-write]

Data

Implementation
    public function get data():Object
    public function set data(value:Object):void
errorTypeproperty 
errorType:String  [read-write]

Error Type Available errorType values: "INVALID_LOCATION" Invalid location code "XML_LOADING" The XML file was unable to load or the path does not exist.

Implementation
    public function get errorType():String
    public function set errorType(value:String):void
successproperty 
public var success:Boolean

True if the event is the result of a successful call, False if the call failed

Constructor detail
UpcomingErrorEvent()constructor
public function UpcomingErrorEvent(type:String, inData:Object)

Constructs a new UpcomingErrorEvent

Parameters
type:String — One of the event types defined by constants
 
inData:Object
Constant detail
INVALID_FROBconstant
public static const INVALID_FROB:String = "InvalidFrob"

The type of event dispatched when the frob is invalid.

XML_LOADINGconstant 
public static const XML_LOADING:String = "XMLLoading"

The type of event dispatched when XML data could not be loaded from the server.