Packagecom.yahoo.webapis.weather.events
Classpublic class WeatherErrorEvent
InheritanceWeatherErrorEvent Inheritance flash.events.Event

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



Public Properties
 PropertyDefined by
  data : Object
Data
WeatherErrorEvent
  success : Boolean
True if the event is the result of a successful call, False if the call failed
WeatherErrorEvent
Public Methods
 MethodDefined by
  
WeatherErrorEvent(type:String, inData:Object)
Constructs a new WeatherErrorEvent
WeatherErrorEvent
Public Constants
 ConstantDefined by
  INVALID_LOCATION : String = "invalidLocationError"
[static] The type of event dispatched when the specified location is invalid.
WeatherErrorEvent
  XML_LOADING : String = "xmlLoadingError"
[static] The type of event dispatched when XML data could not be loaded from the server.
WeatherErrorEvent
Property detail
dataproperty
data:Object  [read-write]

Data

Implementation
    public function get data():Object
    public function set data(value:Object):void
successproperty 
public var success:Boolean

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

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

Constructs a new WeatherErrorEvent

Parameters
type:String
 
inData:Object
Constant detail
INVALID_LOCATIONconstant
public static const INVALID_LOCATION:String = "invalidLocationError"

The type of event dispatched when the specified location is invalid.

XML_LOADINGconstant 
public static const XML_LOADING:String = "xmlLoadingError"

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