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 : String
Class properties inherited from BytesLoad
Class properties inherited from RetryableLoad
Class properties inherited from Load
Instance methods
- addRequestHeader (header:Object, headerValue:String) : Void
- Adds or changes HTTP request headers.
- getBytesLoaded : Number
- getBytesTotal : Number
- hasLoaded : Boolean
- destroy : Void
Instance methods inherited from BytesLoad
Instance methods inherited from RetryableLoad
Instance methods inherited from Load
Instance methods inherited from EventDispatcher
Instance methods 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.