| Package | com.yahoo.webapis.weather.events |
| Class | public class WeatherErrorEvent |
| Inheritance | WeatherErrorEvent flash.events.Event |
| Property | Defined by | ||
|---|---|---|---|
| data : Object
Data
| WeatherErrorEvent | ||
| success : Boolean
True if the event is the result of a successful call,
False if the call failed
| WeatherErrorEvent | ||
| Method | Defined by | ||
|---|---|---|---|
|
WeatherErrorEvent(type:String, inData:Object)
Constructs a new WeatherErrorEvent
| WeatherErrorEvent | ||
| Constant | Defined 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 | ||
| data | property |
data:Object [read-write]Data
Implementation public function get data():Object
public function set data(value:Object):void
| success | property |
public var success:BooleanTrue if the event is the result of a successful call, False if the call failed
| WeatherErrorEvent | () | constructor |
public function WeatherErrorEvent(type:String, inData:Object)Constructs a new WeatherErrorEvent
Parameterstype:String |
|
inData:Object |
| INVALID_LOCATION | constant |
public static const INVALID_LOCATION:String = "invalidLocationError"The type of event dispatched when the specified location is invalid.
| XML_LOADING | constant |
public static const XML_LOADING:String = "xmlLoadingError"The type of event dispatched when XML data could not be loaded from the server.