| Previous | Next |
mApplication.onDownloadProgress()
Availability
| Support | PC | Mac | Package (AS3) / Scope (AS2) |
|---|---|---|---|
| ActionScript 3.0 | 4.0.11 or later | 4.0.1 or later | |
| ActionScript 2.0 | 4.0.11 or later | 4.0.1 or later | global |
Usage
mApplication.onDownloadProgress = function (sessionID:Number, , bytesRead:Number, , bytesTotal:Number) {
// your statements here
}Parameters
sessionID
bytesRead
bytesTotal
Returns
Nothing.
Description
Event handler; This is an event handler to go with mApplication.downloadFile().
This AS2 event handler function is replaced by a standard event object in AS3: see mApplicationEvent.DOWNLOAD_FILE_PROGRESS
ActionScript 2.0 Example:
mApplication.onDownloadFileProgress = function (SessionID, bytesRead, totalBytes)
{
}See Also
mApplication.downloadFile(), mApplication.onDownloadComplete(), mApplication.abortFunction(), mApplicationEvent.DOWNLOAD_FILE_PROGRESS, mApplicationEvent.DOWNLOAD_COMPLETE
Code Examples
Code Examples
| Questions or Feedback? | Previous | 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
