Packagecom.bourre.remoting.events
Classpublic class RemotingCallEvent
InheritanceRemotingCallEvent Inheritance LoaderEvent Inheritance BasicEvent Inheritance flash.events.Event

Player version: Flash Player 9.0
Language version: ActionScript 3.0

The RemotingCallEvent class represents the event object passed to the event listener for RemotingCall events.

See also

com.bourre.remoting.RemotingCall


Public Properties
 PropertyDefined by
  onLoadErrorEVENT : String = "onLoadError"
[static] Defines the value of the type property of the event object for a onLoadError event.
RemotingCallEvent
  onLoadInitEVENT : String = "onLoadInit"
[static] Defines the value of the type property of the event object for a onLoadInit event.
RemotingCallEvent
 Inheritedtarget : Object
The source object of this event
BasicEvent
 Inheritedtype : String
The type of this event
BasicEvent
Protected Properties
 PropertyDefined by
 Inherited_oTarget : Object
The source object of this event, redefined to provide write access
BasicEvent
 Inherited_sType : String
The type of the event, redefined to provide write access
BasicEvent
Public Methods
 MethodDefined by
  
RemotingCallEvent(e:String, oLib:RemotingCall, result:Object = null)
Creates new RemotingCallEvent instance.
RemotingCallEvent
 Inherited
clone():Event
Clone the event
BasicEvent
 Inherited
getErrorMessage():String
Returns the error message carried by this event.
LoaderEvent
  
Returns the RemotingCall object carried by this event.
RemotingCallEvent
 Inherited
Returns the loader object carried by this event.
LoaderEvent
 Inherited
getName():String
Returns the loader named carried by this event.
LoaderEvent
 Inherited
getPerCent():Number
Returns the loading progression value of object carried by this event.
LoaderEvent
  
getResult():Object
Returns the Remoting call result carried by this event.
RemotingCallEvent
 Inherited
getTarget():Object
Returns the current source of this event object.
BasicEvent
 Inherited
getType():String
Returns the type of this event, which generally correspond to the name of the called function on the listener.
BasicEvent
 Inherited
setErrorMessage(errorMessage:String = ""):void
Sets the error message to be carried by this event.
LoaderEvent
 Inherited
setTarget(oTarget:Object):void
Defines the new source object of this event.
BasicEvent
 Inherited
setType(en:String):void
Defines the new event type for this event object.
BasicEvent
 Inherited
toString():String
Returns the string representation of this instance.
BasicEvent
Public Constants
 ConstantDefined by
 InheritedonLoadProgressEVENT : String = "onLoadProgress"
[static] Defines the value of the type property of the event object for a onLoadProgress event.
LoaderEvent
 InheritedonLoadStartEVENT : String = "onLoadStart"
[static] Defines the value of the type property of the event object for a onLoadStart event.
LoaderEvent
 InheritedonLoadTimeOutEVENT : String = "onLoadTimeOut"
[static] Defines the value of the type property of the event object for a onLoadTimeOut event.
LoaderEvent
Property detail
onLoadErrorEVENTproperty
public static var onLoadErrorEVENT:String = "onLoadError"

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Defines the value of the type property of the event object for a onLoadError event.

The properties of the event object have the following values:

PropertyValue
type Dispatched event type
MethodValue
getLib() The RemotingCall object
onLoadInitEVENTproperty 
public static var onLoadInitEVENT:String = "onLoadInit"

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Defines the value of the type property of the event object for a onLoadInit event.

The properties of the event object have the following values:

PropertyValue
type Dispatched event type
MethodValue
getLib() The RemotingCall object
getResult() The remoting call result
Constructor detail
RemotingCallEvent()constructor
public function RemotingCallEvent(e:String, oLib:RemotingCall, result:Object = null)

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Creates new RemotingCallEvent instance.

Parameters
e:String — Event type
 
oLib:RemotingCall — RemotingCall instance
 
result:Object (default = null) — Remoting call result
Method detail
getLib()method
public function getLib():RemotingCall

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Returns the RemotingCall object carried by this event.

Returns
RemotingCall — The RemotingCall object carried by this event.
getResult()method 
public function getResult():Object

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Returns the Remoting call result carried by this event.

Returns
Object — The Remoting call result carried by this event.