DataLoad

Kind of class:class
Inherits from:BytesLoad < RetryableLoad < Load < EventDispatcher < CoreObject
Known subclasses:
Version:06/08/07
Author:Aaron Clinger
Classpath:org.casalib.load.base.DataLoad
File last modified:Monday, 01 December 2008, 13:34:40
Data load class for items that have the methods load and sendAndLoad. Class needs to be extended further to function properly.
Since:
  • Flash Player 7
Events broadcasted to listeners:
  • onData = function (sender:DataLoad, src:String) {}

Summary


Class properties

EVENT_DATA

static EVENT_DATA:String = 'onData'
(read,write)

Instance methods

addRequestHeader

function addRequestHeader (
header:Object, headerValue:String) : Void

Adds or changes HTTP request headers.
Parameters:
header :
A string that represents an HTTP request header name.
headerValue:
A string that represents the value associated with header.

destroy

function destroy (
) : Void

Overrides:

getBytesLoaded

function getBytesLoaded (
) : Number

getBytesTotal

function getBytesTotal (
) : Number

hasLoaded

function hasLoaded (
) : Boolean

Overrides: