Packagecom.yahoo.webapis.answers.events
Classpublic class AnswersResultEvent
InheritanceAnswersResultEvent Inheritance flash.events.Event

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



Public Properties
 PropertyDefined by
  data : Object
Data
AnswersResultEvent
  success : Boolean
True if the event is the result of a successful call, False if the call failed
AnswersResultEvent
Public Methods
 MethodDefined by
  
AnswersResultEvent(type:String, inData:Object)
Constructs a new FlickrResultEvent
AnswersResultEvent
Public Constants
 ConstantDefined by
  GET_ANSWERS_RESULT : String = "getAnswersResult"
[static]
AnswersResultEvent
  GET_COMMENTS_RESULT : String = "getCommentsResult"
[static]
AnswersResultEvent
  GET_QUESTION_RESULT : String = "getQuestionResult"
[static]
AnswersResultEvent
  SEARCH_BY_CATEGORY_RESULT : String = "searchByCategoryResult"
[static]
AnswersResultEvent
  SEARCH_BY_QUERY_RESULT : String = "searchByQueryResult"
[static] Constant for the event types.
AnswersResultEvent
  SEARCH_BY_USER_RESULT : String = "searchByUserResult"
[static]
AnswersResultEvent
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
AnswersResultEvent()constructor
public function AnswersResultEvent(type:String, inData:Object)

Constructs a new FlickrResultEvent

Parameters
type:String
 
inData:Object
Constant detail
GET_ANSWERS_RESULTconstant
public static const GET_ANSWERS_RESULT:String = "getAnswersResult"
GET_COMMENTS_RESULTconstant 
public static const GET_COMMENTS_RESULT:String = "getCommentsResult"
GET_QUESTION_RESULTconstant 
public static const GET_QUESTION_RESULT:String = "getQuestionResult"
SEARCH_BY_CATEGORY_RESULTconstant 
public static const SEARCH_BY_CATEGORY_RESULT:String = "searchByCategoryResult"
SEARCH_BY_QUERY_RESULTconstant 
public static const SEARCH_BY_QUERY_RESULT:String = "searchByQueryResult"

Constant for the event types.

SEARCH_BY_USER_RESULTconstant 
public static const SEARCH_BY_USER_RESULT:String = "searchByUserResult"