DataLoad

Kind of class:class
Inherits from:BytesLoad < RetryableLoad < Load < EventDispatcher < CoreObject
Known subclasses:
Version:06/08/07
Author:Aaron Clinger
Classpath:org.casaframework.load.base.DataLoad
File last modified:Sunday, 19 August 2007, 13:43:25
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 broadcast to listeners:
onData = function (sender:DataLoad, src:String) {}

Summary

Class properties
Instance properties
Instance properties inherited from RetryableLoad
Instance properties inherited from Load
Instance properties inherited from EventDispatcher
Instance properties inherited from CoreObject

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

getBytesLoaded

function getBytesLoaded () : Number

getBytesTotal

function getBytesTotal () : Number

hasLoaded

function hasLoaded () : Boolean
Overrides: