Packageorg.apache.flex.net
Classpublic class URLBinaryLoader
InheritanceURLBinaryLoader Inheritance URLLoader Inheritance EventDispatcher Inheritance flash.events.EventDispatcher

Language Version : ActionScript 3.0
Product Version : FlexJS 0.7.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The BinaryUploader class is a relatively low-level class designed to get binary data over HTTP the intent is to create similar classes for text and URL vars.



Public Properties
 PropertyDefined By
  bytesLoaded : uint = 0
The number of bytes loaded so far.
URLBinaryLoader
  bytesTotal : uint = 0
The total number of bytes (if avaailable).
URLBinaryLoader
  data : BinaryData
The binary result of the request.
URLBinaryLoader
  endian : String = bigEndian
Indicates the byte order for the data.
URLBinaryLoader
 InheritedonComplete : Function
Callback for complete event.
URLLoader
 InheritedonError : Function
Callback for error event.
URLLoader
 InheritedonProgress : Function
Callback for progress event.
URLLoader
 InheritedonStatus : Function
Callback for status event.
URLLoader
 InheritedrequestStatus : int
The status of the request.
URLLoader
Public Methods
 MethodDefined By
  
URLBinaryLoader
  
close():void
Cancels the URL request
URLBinaryLoader
 Inherited
complete(callback:Function):URLLoader
Convenience function for complete event to allow chaining.
URLLoader
 Inherited
error(callback:Function):URLLoader
Convenience function for error event to allow chaining.
URLLoader
  
load(request:URLRequest):void
Makes the URL request.
URLBinaryLoader
 Inherited
progress(callback:Function):URLLoader
Convenience function for progress event to allow chaining.
URLLoader
 Inherited
status(callback:Function):URLLoader
Convenience function for status event to allow chaining.
URLLoader
Protected Methods
 MethodDefined By
 Inherited
URLLoader
Events
 Event Summary Defined By
 InheritedDispatched if an error occurs in the server communication.URLLoader
 InheritedDispatched when the request is complete.URLLoader
 InheritedDispatched when an httpStatus code is received from the server.URLLoader
Property Detail
bytesLoadedproperty
public var bytesLoaded:uint = 0

Language Version : ActionScript 3.0
Product Version : FlexJS 0.7.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The number of bytes loaded so far.

bytesTotalproperty 
public var bytesTotal:uint = 0

Language Version : ActionScript 3.0
Product Version : FlexJS 0.7.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The total number of bytes (if avaailable).

dataproperty 
public var data:BinaryData

Language Version : ActionScript 3.0
Product Version : FlexJS 0.7.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The binary result of the request.

endianproperty 
public var endian:String = bigEndian

Language Version : ActionScript 3.0
Product Version : FlexJS 0.7.0
Runtime Versions : Flash Player 10.2, AIR 2.6

Indicates the byte order for the data.

Constructor Detail
URLBinaryLoader()Constructor
public function URLBinaryLoader()



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

Language Version : ActionScript 3.0
Product Version : FlexJS 0.7.0
Runtime Versions : Flash Player 10.2, AIR 2.6

Cancels the URL request

load()method 
public function load(request:URLRequest):void

Language Version : ActionScript 3.0
Product Version : FlexJS 0.7.0
Runtime Versions : Flash Player 10.2, AIR 2.6

Makes the URL request.

Parameters

request:URLRequest