BytesLoadInterface
Kind of class: | interface |
---|---|
Inherits from: | RetryableLoadInterface < LoadInterface < RunnableInterface < CoreInterface |
Implemented by: | |
Version: | 12/21/06 |
Author: | Aaron Clinger |
Classpath: | org.casalib.load.base.BytesLoadInterface |
File last modified: | Monday, 01 December 2008, 13:34:40 |
Load interface to be used in load classes where methods
getBytesLoaded
and getBytesTotal
are available.Summary
Instance methods
- setLoadTimeout (loadTimeout:Number) : Void
- Sets the amount of time a load will wait without receiving further progress before retrying.
- getBytesLoaded : Number
- Returns the number of bytes that have loaded (streamed).
- getBytesTotal : Number
- Returns the size, in bytes, of the file currently or completed loading.
Instance methods inherited from RetryableLoadInterface
Instance methods inherited from LoadInterface
Instance methods inherited from RunnableInterface
Instance methods inherited from CoreInterface
Instance methods
getBytesLoaded
function getBytesLoaded (
) : Number
Returns the number of bytes that have loaded (streamed).
Returns:
- An integer that indicates the number of bytes loaded.
getBytesTotal
function getBytesTotal (
) : Number
Returns the size, in bytes, of the file currently or completed loading.
Returns:
- An integer that indicates the total size, in bytes, of the movie clip.
setLoadTimeout
function setLoadTimeout (
loadTimeout:Number) : Void
Sets the amount of time a load will wait without receiving further progress before retrying.
Parameters:
loadTimeout:
Time in milliseconds.