Packagecom.yworks.remote
Classpublic class XMLResultEvent
InheritanceXMLResultEvent Inheritance flash.events.Event

An event class that wraps an xml formatted result that was transferred from the server.



Public Properties
 PropertyDefined By
  xmlResult : XML
[read-only] The XML which was received from the server.
XMLResultEvent
Public Methods
 MethodDefined By
  
XMLResultEvent(xmlResult:XML, type:String = complete, bubbles:Boolean = false, cancelable:Boolean = false)
Creates a new instance.
XMLResultEvent
  
clone():Event
[override]
XMLResultEvent
Public Constants
 ConstantDefined By
  COMPLETE : String = complete
[static] Dispatched after a valid XML was received from the server.
XMLResultEvent
Property Detail
xmlResultproperty
xmlResult:XML  [read-only]

The XML which was received from the server.


Implementation
    public function get xmlResult():XML
Constructor Detail
XMLResultEvent()Constructor
public function XMLResultEvent(xmlResult:XML, type:String = complete, bubbles:Boolean = false, cancelable:Boolean = false)

Creates a new instance.

Parameters
xmlResult:XML — The received XML.
 
type:String (default = complete) — The event type.
 
bubbles:Boolean (default = false) — Whether this event can bubble.
 
cancelable:Boolean (default = false) — Whether this event is cancelable.
Method Detail
clone()method
override public function clone():Event

Returns
Event
Constant Detail
COMPLETEConstant
public static const COMPLETE:String = complete

Dispatched after a valid XML was received from the server. The received XML is stored in the xmlResult property.