mApplication.abortFunction()

Availability

SupportPCMacPackage (AS3) / Scope (AS2)
ActionScript 3.0

4.0 or later

4.0 or later

stm.mprojector.mApplication

ActionScript 2.0

2.0 or later

3.0 or later

global

Usage

mApplication.abortFunction(functionId:Number) : Void

Parameters

functionId - Identifier of the asynchronous function to be aborted.

Returns

Nothing.

Description

Method; Aborts a previously called asynchronous function such as mApplication.downloadFile().

ActionScript 3.0 Example:

The following example aborts a download session.

import stm.mprojector.mApplication;

mApplication.abortFunction(downloadId);

ActionScript 2.0 Example:

The following example aborts a download session.

mApplication.abortFunction(downloadId);

See Also

mApplication.downloadFile(), mFile.copyFileAsynchronously(), mFile.copyFolderAsynchronously()