Packagecom.yahoo.webapis.weather.events
Classpublic class WeatherResultEvent
InheritanceWeatherResultEvent Inheritance flash.events.Event

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



Public Properties
 PropertyDefined by
  data : Object
Data
WeatherResultEvent
  success : Boolean
True if the event is the result of a successful call, False if the call failed
WeatherResultEvent
Public Methods
 MethodDefined by
  
WeatherResultEvent(type:String, inData:Object)
Constructs a new WeatherResultEvent
WeatherResultEvent
Public Constants
 ConstantDefined by
  WEATHER_LOADED : String = "weatherLoaded"
[static] The type of event dispatched when Weather data has loaded successfully.
WeatherResultEvent
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
WeatherResultEvent()constructor
public function WeatherResultEvent(type:String, inData:Object)

Constructs a new WeatherResultEvent

Parameters
type:String
 
inData:Object
Constant detail
WEATHER_LOADEDconstant
public static const WEATHER_LOADED:String = "weatherLoaded"

The type of event dispatched when Weather data has loaded successfully.