Access keys

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, 24 January 2007, 21:45:39
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) {}

Summary

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 internal variables, intervals, enter frames, internal MovieClips and event observers to allow the object to be garbage collected.

Always call destroy() before deleting/removing object instance.
#

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.