| | Next |
mApplication.abortFunction()
Availability
| Support | PC | Mac | Package (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) : VoidParameters
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()
| Questions or Feedback? | | Next |
More Information
Getting Started
ActionScript 3.0 Support
- AS2 Migration
- Getting Started - Flash
- Debugging in Flash
- Building your application from inside Flash
- Getting Started - Flex
- Debugging in Flex
ActionScript 3.0 Samples
Using mProjector
- Using mProjector - Compile Your SWF into an Appli
- Customizing The About Window
- Debugging Your Application
- Launching Application at Startup
- Mac vs. Windows Application Development
- Menus
- Dynamic Window Creation
ActionScript 2.0 Samples
- Application Basics
- mProjector Class Basics
- Add Remove Programs Control Panel
- Fullscreen and Center
- Check Connection and Download File
- Choose Files
- Creating an Installer
- Creating and Controlling Multiple Windows
- Cut, Copy, and Paste (Windows)
- Desktop Shortcut and Start Menu Support
- Drag and Drop Files
- Embedding HTML and other Media types
- Flash-Shaped Windows
- Message Box
- Open Documents
- Project Files
- Reading and Writing to Hard Drive
- Startup Application
- Wallpaper and Screensaver
- Window to Window Communications
- Working with Included Files
- Context Sensitive Menus
- Alert User
- Screen Resolution
