Access keys

BytesLoadInterface

Kind of class: interface
Inherits from: RetryableLoadInterface < LoadInterface < RunnableInterface < CoreInterface
Implemented by:
Version: 12/21/06
Author: Aaron Clinger
Classpath: org.casaframework.load.base.BytesLoadInterface
File last modified: Wednesday, 24 January 2007, 21:45:39
Load interface to be used in load classes where methods getBytesLoaded and getBytesTotal are available.

Summary

Instance methods
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.