The event that indicates an RPC operation has been invoked.

Static variables

@:value("invoke")staticfinalread onlyINVOKE:String = "invoke"

The INVOKE event type.

The properties of the event object have the following values:

PropertyValue
`bubbles`false
`token` The token that represents the indiviudal call to the method. Used in the asynchronous completion token pattern.
`cancelable`true
`currentTarget`The Object that defines the event listener that handles the event. For example, if you use `myButton.addEventListener()` to register an event listener, myButton is the value of the `currentTarget`.
`message` The request Message associated with this event.
`target`The Object that dispatched the event; it is not always the Object listening for the event. Use the `currentTarget` property to always access the Object listening for the event.
@eventType invoke

Constructor

@:value({ message : null, token : null, cancelable : false, bubbles : false })new(type:String, bubbles:Bool = false, cancelable:Bool = false, ?token:AsyncToken, ?message:IMessage)

Create a new InvokeEvent.

Parameters:

type

The event type; indicates the action that triggered the event.

bubbles

Specifies whether the event can bubble up the display list hierarchy.

cancelable

Specifies whether the behavior associated with the event can be prevented.

token

Token that represents the call to the method. Used in the asynchronous completion token pattern.

message

Source Message of the request.

Methods

toString():String

Returns a string representation of the InvokeEvent.

Returns:

String representation of the InvokeEvent.

Inherited Variables

Defined by AbstractEvent

@:flash.propertyread onlytoken:AsyncToken

The token that represents the call to the method. Used in the asynchronous completion token pattern.

Defined by MessageEvent

message:IMessage

The Message associated with this event.

@:flash.propertyread onlymessageId:String

Inherited Methods

Defined by AbstractEvent

Defined by MessageEvent

clone():Event

Clones the MessageEvent.

Returns:

Copy of this MessageEvent.