RetryableLoad

Kind of class:class
Inherits from:Load < EventDispatcher < CoreObject
Implements:
Known subclasses:
Version:12/22/06
Author:Aaron Clinger
Classpath:org.casaframework.load.base.RetryableLoad
File last modified:Wednesday, 07 March 2007, 14:18:31
Retryable load class. Class needs to be extended further to function properly.
Since:
Flash Player 7
Events broadcast to listeners:
onLoadRetry = function (sends:RetryableLoad, attempts:Number) {}

Class properties

EVENT_LOAD_RETRY

static EVENT_LOAD_RETRY:String = 'onLoadRetry'
(read,write)

loadRetries

static loadRetries:Number = 2
(read,write)

Instance methods

destroy

function destroy (
) : Void
Removes any internal variables, intervals, enter frames, internal MovieClips and event observers to allow the object to be garbage collected.

Always call destroy() before deleting last object pointer.
#

setLoadRetries

function setLoadRetries (
loadRetries:Number) : Void
Sets the number of additional load attempts before failing.
#
Parameters:
loadRetries:
Number of additional load retries.
#
Usage note:
Class defaults to 2 additional retries / 3 total load attempts.