Package | couk.markstar.starrequests.requests |
Class | public class LoadXMLRequest |
Inheritance | LoadXMLRequest ![]() ![]() |
Property | Defined By | ||
---|---|---|---|
![]() | cancelled : ISignal [read-only]
The instance of the failed signal for this request
| AbstractRequest | |
completed : ISignal [override] [read-only]
The instance of the completed signal for this request
| LoadXMLRequest | ||
![]() | failed : ISignal [read-only]
The instance of the failed signal for this request
| AbstractRequest | |
![]() | progress : ISignal [read-only]
The instance of the progress signal for this request
| AbstractRequest | |
![]() | started : ISignal [read-only]
The instance of the started signal for this request
| AbstractRequest |
Property | Defined By | ||
---|---|---|---|
_loader : URLLoader | LoadXMLRequest | ||
_url : String | LoadXMLRequest |
Method | Defined By | ||
---|---|---|---|
LoadXMLRequest(url:String) | LoadXMLRequest | ||
cancel():void [override]
Call this function to cancel the request. | LoadXMLRequest | ||
send():void [override]
Call this function to execute the request. | LoadXMLRequest |
_loader | property |
protected var _loader:URLLoader
_url | property |
protected var _url:String
completed | property |
completed:ISignal
[read-only] [override] The instance of the completed signal for this request
public function get completed():ISignal
protected function completedListener( xml:XML ):void { // function implementation }
LoadXMLRequest | () | Constructor |
public function LoadXMLRequest(url:String)
Parameters
url:String — The URL of the XML file to load.
|
cancel | () | method |
override public function cancel():void
Call this function to cancel the request. The cleanup method is then executed. This method should be overridden in subclasses, but ensure to call super.cancel() when overriding. Note that it is recommended to call super.cancel at the end of the method in the subclass.
send | () | method |
override public function send():void
Call this function to execute the request. The started and progress signals are both dispatched. This method should be overridden in subclasses, but ensure to call super.send() when overriding.