Packagecom.distriqt.extension.facebookapi.events
Classpublic class MessageDialogEvent
InheritanceMessageDialogEvent Inheritance flash.events.Event

This class represents events dispatched from the Message Dialogs.

See also

com.distriqt.extension.facebookapi.share.MessageDialog


Public Properties
 PropertyDefined By
  errorCode : int = -1
MessageDialogEvent
  errorMessage : String = null
MessageDialogEvent
  postId : String = null
MessageDialogEvent
Public Methods
 MethodDefined By
  
MessageDialogEvent(type:String, postId:String = null, errorCode:int = -1, errorMessage:String = null, bubbles:Boolean = false, cancelable:Boolean = false)
Constructor
MessageDialogEvent
  
clone():Event
[override]
MessageDialogEvent
Public Constants
 ConstantDefined By
  DIALOG_CANCELLED : String = facebookapi:message:dialog:cancelled
[static] Dispatched when the user cancelled a message dialog
MessageDialogEvent
  DIALOG_COMPLETED : String = facebookapi:message:dialog:completed
[static] Dispatched when the Facebook message dialog has completed successfully.
MessageDialogEvent
  DIALOG_ERROR : String = facebookapi:message:dialog:error
[static] Dispatched when an error occurred posting from a dialog errorMessage will contain details on the error that occurred.
MessageDialogEvent
Property Detail
errorCodeproperty
public var errorCode:int = -1

errorMessageproperty 
public var errorMessage:String = null

postIdproperty 
public var postId:String = null

Constructor Detail
MessageDialogEvent()Constructor
public function MessageDialogEvent(type:String, postId:String = null, errorCode:int = -1, errorMessage:String = null, bubbles:Boolean = false, cancelable:Boolean = false)

Constructor

Parameters
type:String
 
postId:String (default = null)
 
errorCode:int (default = -1)
 
errorMessage:String (default = null)
 
bubbles:Boolean (default = false)
 
cancelable:Boolean (default = false)
Method Detail
clone()method
override public function clone():Event

Returns
Event
Constant Detail
DIALOG_CANCELLEDConstant
public static const DIALOG_CANCELLED:String = facebookapi:message:dialog:cancelled

Dispatched when the user cancelled a message dialog

DIALOG_COMPLETEDConstant 
public static const DIALOG_COMPLETED:String = facebookapi:message:dialog:completed

Dispatched when the Facebook message dialog has completed successfully.

postId will contain the id of the post created.

DIALOG_ERRORConstant 
public static const DIALOG_ERROR:String = facebookapi:message:dialog:error

Dispatched when an error occurred posting from a dialog

errorMessage will contain details on the error that occurred.