Packageorg.openzet.rpc
Classpublic class HTTPLoader
InheritanceHTTPLoader Inheritance flash.events.EventDispatcher
ImplementsIRPCHTTPLoader

Custom Helper class that loads XML, text data on the web.



Public Properties
 PropertyDefined by
  showBusyCursor : Boolean
Flag to specify whether to show busy cursor.
HTTPLoader
Public Methods
 MethodDefined by
  
Constructor.
HTTPLoader
  
close():void
Closes connection and destorys object.
HTTPLoader
  
load(url:URLRequest, encoding:String = "UTF-8"):void
loads XML or text data on the web.
HTTPLoader
Events
 EventSummaryDefined by
   Dispatched when data loading is complete.HTTPLoader
   Dispatched when an error occurs while loading data.HTTPLoader
   Dispatched when an object is initialized and ready to use.HTTPLoader
   Dispatched when data loading is in progress.HTTPLoader
Property detail
showBusyCursorproperty
showBusyCursor:Boolean  [read-write]

Flag to specify whether to show busy cursor.

Implementation
    public function get showBusyCursor():Boolean
    public function set showBusyCursor(value:Boolean):void
Constructor detail
HTTPLoader()constructor
public function HTTPLoader()

Constructor.

Method detail
close()method
public function close():void

Closes connection and destorys object.

load()method 
public function load(url:URLRequest, encoding:String = "UTF-8"):void

loads XML or text data on the web.

Parameters
url:URLRequest — URLRequest object to use.
 
encoding:String (default = "UTF-8") — Encoding type such as UTF-8.
Event detail
completeevent 
Event object type: org.openzet.events.RPCEvent

Dispatched when data loading is complete.

errorevent  
Event object type: org.openzet.events.RPCEvent

Dispatched when an error occurs while loading data.

initalizeevent  
Event object type: org.openzet.events.RPCEvent

Dispatched when an object is initialized and ready to use.

progressevent  
Event object type: flash.events.ProgressEvent

Dispatched when data loading is in progress.