| Package | com.swfjunkie.tweetr.events |
| Class | public class TweetEvent |
| Inheritance | TweetEvent flash.events.Event |
| Property | Defined 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 | ||
| Method | Defined 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 | ||
| Constant | Defined by | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| COMPLETE : String = "complete" [static]
The event returns the following properties:
| TweetEvent | ||||||||||
| FAILED : String = "failed" [static]
The event returns the following properties:
| TweetEvent | ||||||||||
| STATUS : String = "status" [static]
The event returns the following properties:
| TweetEvent | ||||||||||
| cursor | property |
public var cursor:CursorDataA CursorData Object if the response supplies this information
| data | property |
public var data:ObjectThe unparsed, untouched received data from twitter
| info | property |
public var info:StringA Text Message containing information when a request fails or the status of your http request
| responseArray | property |
public var responseArray:ArrayAn Array filled with Data Object returned after a succesful twitter request
| 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.
Parameterstype: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
|
| COMPLETE | constant |
public static const COMPLETE:String = "complete"
The event returns the following properties:
| Property | Value |
|---|---|
| responseArray | Array filled with Data Objects containing the results of your request |
| data | Contains the unparsed raw data returned from twitter |
| cursor | Contains a Cursor Data Object if the response includes cursor information |
| FAILED | constant |
public static const FAILED:String = "failed"
The event returns the following properties:
| Property | Value |
|---|---|
| info | Contains the Error Message returned |
| STATUS | constant |
public static const STATUS:String = "status"
The event returns the following properties:
| Property | Value |
|---|---|
| info | Contains the HTTP Status |