Packageeu.orangeflash.webapis.yahoo
Classpublic class Yahoo
InheritanceYahoo Inheritance flash.events.EventDispatcher
SubclassesYahoo

Yahoo API, this class wraps original Yahoo API, which can be obtained on Yahoo Flash Developer Center.



Public Properties
 PropertyDefined by
  apiKey : String
Yahoo Developer API key, needed in order to use this libriary.
Yahoo
  lastResult : Results
[read-only] Last result from search operation.
Yahoo
Public Methods
 MethodDefined by
  
Yahoo(apiKey:String = "")
Yahoo class, represents yahoo API.
Yahoo
  
searchImages(request:String, results:int = 25):void
Invokes image search.
Yahoo
  
searchWeb(request:String, results:int = 25):void
Invokes web-page search.
Yahoo
Events
 EventSummaryDefined by
   Dispatched when yahoo successfully returns results.Yahoo
Property detail
apiKeyproperty
apiKey:String  [read-write]

Yahoo Developer API key, needed in order to use this libriary.

This property can be used as the source for data binding.

Implementation
    public function get apiKey():String
    public function set apiKey(value:String):void
lastResultproperty 
lastResult:Results  [read-only]

Last result from search operation.

This property can be used as the source for data binding.

Implementation
    public function get lastResult():Results
Constructor detail
Yahoo()constructor
public function Yahoo(apiKey:String = "")

Yahoo class, represents yahoo API.

Parameters
apiKey:String (default = "") — String, enter your Yahoo API.
Method detail
searchImages()method
public function searchImages(request:String, results:int = 25):void

Invokes image search.

Parameters
request:String — Keywords.
 
results:int (default = 25) — Ammount of results, default value 25.
searchWeb()method 
public function searchWeb(request:String, results:int = 25):void

Invokes web-page search.

Parameters
request:String — Keywords.
 
results:int (default = 25) — Ammount of results, default value 25.
Event detail
resultevent 
Event object type: eu.orangeflash.webapis.events.YahooEvent

Dispatched when yahoo successfully returns results.