Packagecom.yahoo.maps.webservices.local.events
Classpublic class LocalSearchEvent
InheritanceLocalSearchEvent Inheritance flash.events.Event

The LocalSearchEvent class represents the event object passed to the event listener for events dispatched by the LocalSearch object



Public Properties
 PropertyDefined by
  data : Object
The event data object
LocalSearchEvent
Public Methods
 MethodDefined by
  
LocalSearchEvent(type:String, data:Object = null, bubbles:Boolean = false, cancelable:Boolean = false)
Creates a new LocalSearchEvent object
LocalSearchEvent
Public Constants
 ConstantDefined by
  SEARCH_FAILURE : String = "searchFailure"
[static] A string containing the name of the SEARCH_FAILURE event
LocalSearchEvent
  SEARCH_SUCCESS : String = "searchSuccess"
[static] A string containing the name of the SEARCH_SUCCESS event
LocalSearchEvent
Property detail
dataproperty
data:Object  [read-write]

The event data object

Implementation
    public function get data():Object
    public function set data(value:Object):void
Constructor detail
LocalSearchEvent()constructor
public function LocalSearchEvent(type:String, data:Object = null, bubbles:Boolean = false, cancelable:Boolean = false)

Creates a new LocalSearchEvent object

Parameters
type:String
 
data:Object (default = null)
 
bubbles:Boolean (default = false)
 
cancelable:Boolean (default = false)
Constant detail
SEARCH_FAILUREconstant
public static const SEARCH_FAILURE:String = "searchFailure"

A string containing the name of the SEARCH_FAILURE event

SEARCH_SUCCESSconstant 
public static const SEARCH_SUCCESS:String = "searchSuccess"

A string containing the name of the SEARCH_SUCCESS event