PackageappCoreLib.events
Classpublic class XMLLoadEvent
InheritanceXMLLoadEvent Inheritance flash.events.Event

XMLLoadEvent is triggered by XMLDataBroker and its subclasses once a targeted XML has loaded or failed to load.



Public Properties
 PropertyDefined by
  data : XML
This property has been deprecated.
XMLLoadEvent
  xml : XML
The XML data associated with the XMLLoadEvent if the XML was successfully loaded.
XMLLoadEvent
Public Methods
 MethodDefined by
  
XMLLoadEvent(type:String, data:XML = null, bubbles:Boolean = false, cancelable:Boolean = false)
Constructor for new XMLLoadEvent instance.
XMLLoadEvent
Public Constants
 ConstantDefined by
  XML_LOAD_FAILURE : String = "xmlLoadFailure"
[static] Triggered when an xml document has failed to load.
XMLLoadEvent
  XML_LOAD_SUCCESS : String = "xmlLoadSuccess"
[static] Triggered when an xml document has successfully loaded.
XMLLoadEvent
Property detail
dataproperty
data:XML  [read-write]

This property has been deprecated. Please use the xml property instead. The XML data associated with the XMLLoadEvent if the XML was successfully loaded.

Implementation
    public function get data():XML
    public function set data(value:XML):void
xmlproperty 
xml:XML  [read-write]

The XML data associated with the XMLLoadEvent if the XML was successfully loaded.

Implementation
    public function get xml():XML
    public function set xml(value:XML):void
Constructor detail
XMLLoadEvent()constructor
public function XMLLoadEvent(type:String, data:XML = null, bubbles:Boolean = false, cancelable:Boolean = false)

Constructor for new XMLLoadEvent instance.

Parameters
type:String — The XMLLoadEvent type.
 
data:XML (default = null) — The XML data associated with this event if it was successfully loaded.
 
bubbles:Boolean (default = false) — Flag indicating if the event bubbles through the display list.
 
cancelable:Boolean (default = false) — Flag indicating if the event is cancelable.
Constant detail
XML_LOAD_FAILUREconstant
public static const XML_LOAD_FAILURE:String = "xmlLoadFailure"

Triggered when an xml document has failed to load.

XML_LOAD_SUCCESSconstant 
public static const XML_LOAD_SUCCESS:String = "xmlLoadSuccess"

Triggered when an xml document has successfully loaded.