Invoked when the countdown timer completes.
public function onCountDownComplete( eventObj: TimerEvent ):void
Invoked on every countdown interval tick.
public function onCountDownTick ( eventObj: TimerEvent ):void
Invoked on every countup interval tick.
public function onCountUpTick ( eventObj: TimerEvent ):void
Invoked via the “LoadManager.CREATELOAD” event and is used as the event listener gateway for the createLoad method.
public function onCreateLoadEvent ( eventObj: Object ):void
Begins a monitoring process for a property within a specified object.
public function onExists( property: String, target: *, callback: Function, ... parms ):void
Timer-based looping method that monitors specified target object(s) for properties and invokes callback methods once those properties become available.
private function onExistsMonitor( eventObj: TimerEvent ):void
Handles asynchronous error events raised by the LocalConnection instance used for external broadcasts.
public function onExternalEventError( eventObj: AsyncErrorEvent )
Handles StatusEvent events sent by the LocalConnection instance used for external broadcasts.
public function onExternalEventStatus( eventObj: StatusEvent )
Invoked via a standard HTTPStatusEvent event whenever a load operation reports an HTTP status (404, 200, etc.)
public function onHTTPStatus ( eventObj: HTTPStatusEvent ):void
public function onIOError ( eventObj: IOErrorEvent ):void
Invoked via a standard Event event whenever a load operation successfully completes.
public function onLoadComplete ( eventObj: Event ):void
All-purpose method used for tracking the end of a load.
public function onLoadEnd ( eventObj: Object ):void
Invoked by Flash on any ProgressEvent event for the associated load item.
public function onProgress ( eventObj: ProgressEvent ):void
The final step in data conversion (after invoking convertData) for MovieClip, Bitmap, and Sprite types that require a buffer conversion from a ByteArray to a Loader type.
public function onReadLoaderBuffer( eventObj: Event ):void
Invoked via a standard SecurityErrorEvent event whenever a load operation halts due to a security restriction.
public function onSecurityError ( eventObj: SecurityErrorEvent ):void
Trackes the progress of a Sound instance via ProgressEvent broadcasts.
public function onSoundProgress ( eventObj: ProgressEvent ):void
Event listener invoked when the main `stage` object becomes available in the associated application.
public function onStageExists( eventObj: Event ):void
private function parseData( xmlData: * ):void
Queries the environment to determine what type of functionality the API should and shouldn’t be allowed to execute.
private function queryEnvironment():void
Receives external events from sending nodes via the LocalConnection object.
public function receiveExternalEvent ( externalEvent: Object )
Receives an event from a JavaScript event broadcast.
public function receiveJavaScriptEvent( externalEvent: Object, argsPackage: Array )
Registers this class and the API with any other external event listeners/broadcasters.
public function registerExternalEvents()
Attempts to register a single external event node at a given node index.
private function registerExternalNode ( nodeNum: int ):Boolean
Registers a listening method within this class with the ExternalInterface class for invokation via JavaScript.
private function registerJavaScriptEvents()
Removes a listener from the stack.
public function removeListener( listener: Function, msg: String, ... args ):Boolean
Removes event listeners for the Sound object, typically when the load operation completes.
private function removeSoundListeners ():void
Replaces a source string (the meta string) in a given input sring with a new string.
public function replaceString( sourceString: *, targetString: *, metaString: * ):String
Resets the current thread to its starting state.
public function reset():void
Resets the count down timer.
public function resetCountDown( ... args ):void
Resets the countup timer.
public function resetCountUp( ... args ):void
Waits for the existence of the main “stage” object instance and broadcasts an event/calls associated methods when it becomes available.
private function searchStageInstance():void
Sends an external event to a specific node using the LocalConnection object.
public function sendExternalEvent ( externalEvent: Object )
Sets the bit at the specified position in the input number to the specified value.
public function setBit( bitPos: Number, inputNum: Number, bitVal: Boolean )
Sets default properties, instances, and values at class instantiation.
private function setDefaults ():void
Sets default listeners for the API.
private function setListeners()
Sets event listeners for the class instance/API chain.
private function setListeners ():void
Sets event listeners for the class instance/API chain.
private function setListeners ():void
Sets event listeners for the class instance/API chain.
private function setSoundListeners ():void
Registers the supplied method with a list of callback methods to invoke when the main `stage` object becomes available.
public function setStageCallback( methodRef: Function ):void
Splits a version string such as “2.1.5r12” to its constituent parts.
public function splitVersionInfo( versionString: String ):Object
Attempts to start the load operation.
public function start ():void
Starts a countdown timer based on the current time settings of the time object (e.g.
public function startCountDown( ... args ):void
Starts a countup timer.
public function startCountUp( ... args ):void
Begins the fast buffer thread used for more accurate updates of the transfer buffer.
private function startFastBuffer ():void
Begins an asset or data load from the network or local file location.
public function startLoad ( loadItem: LoadItem, ... args ):Boolean
Begins threaded execution of any threads added via the createThread method.
public function startThreads( ... args ):void
Stops the count down timer.
public function stopCountDown():void
Stops the count up timer.
public function stopCountUp():void
Stops the fast buffer execution thread, if running, and cleans up the Thread instance for garbage collection.
private function stopFastBuffer ():void
Stops any executing threads.
public function stopThreads()
Strips the leading spaces from a string and returns the processed string.
public function stripLeadingSpace( inputStr: String ):String
Strips spaces from both the end and the beginning of the input string.
public function stripOutsideSpace ( inputStr: String ):String
Strips the trailing spaces from a string and returns the processed string.
public function stripTrailingSpace( inputStr: String ):String