Packagecom.swfjunkie.tweetr.events
Classpublic class TweetEvent
InheritanceTweetEvent Inheritance flash.events.Event

Tweeter Event Class



Public Properties
 PropertyDefined by
  cursor : CursorData
A CursorData Object if the response supplies this information
TweetEvent
  data : Object
The unparsed, untouched received data from twitter
TweetEvent
  info : String
A Text Message containing information when a request fails or the status of your http request
TweetEvent
  responseArray : Array
An Array filled with Data Object returned after a succesful twitter request
TweetEvent
Public Methods
 MethodDefined by
  
TweetEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, responseArray:Array = null, info:String = null, data:Object = null, cursor:CursorData = null)
Creates a TweetEvent object to pass as a parameter to event listeners.
TweetEvent
Public Constants
 ConstantDefined by
  COMPLETE : String = "complete"
[static]

The event returns the following properties:

PropertyValue
responseArrayArray filled with Data Objects containing the results of your request
dataContains the unparsed raw data returned from twitter
cursorContains a Cursor Data Object if the response includes cursor information
TweetEvent
  FAILED : String = "failed"
[static]

The event returns the following properties:

PropertyValue
infoContains the Error Message returned
TweetEvent
  STATUS : String = "status"
[static]

The event returns the following properties:

PropertyValue
infoContains the HTTP Status
TweetEvent
Property detail
cursorproperty
public var cursor:CursorData

A CursorData Object if the response supplies this information

dataproperty 
public var data:Object

The unparsed, untouched received data from twitter

infoproperty 
public var info:String

A Text Message containing information when a request fails or the status of your http request

responseArrayproperty 
public var responseArray:Array

An Array filled with Data Object returned after a succesful twitter request

Constructor detail
TweetEvent()constructor
public function TweetEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, responseArray:Array = null, info:String = null, data:Object = null, cursor:CursorData = null)

Creates a TweetEvent object to pass as a parameter to event listeners.

Parameters
type:String — The type of the event, accessible as TweetEvent.type.
 
bubbles:Boolean (default = false) — Determines whether the Event object participates in the bubbling stage of the event flow. The default value is false.
 
cancelable:Boolean (default = false) — Determines whether the Event object can be canceled. The default values is false.
 
responseArray:Array (default = null) — An Array filled with Data Object returned after a succesful twitter request.
 
info:String (default = null) — A Text Message containing information when a request fails or the status of your http request.
 
data:Object (default = null) — The Received unparsed Data (mostly xml)
 
cursor:CursorData (default = null) — If the response supplied cursor data information, this attribute will have a CursorData Object
Constant detail
COMPLETEconstant
public static const COMPLETE:String = "complete"

The event returns the following properties:

PropertyValue
responseArrayArray filled with Data Objects containing the results of your request
dataContains the unparsed raw data returned from twitter
cursorContains a Cursor Data Object if the response includes cursor information
FAILEDconstant 
public static const FAILED:String = "failed"

The event returns the following properties:

PropertyValue
infoContains the Error Message returned
STATUSconstant 
public static const STATUS:String = "status"

The event returns the following properties:

PropertyValue
infoContains the HTTP Status




comments powered by Disqus