Recipe 23.8. Monitoring File Upload Progress


Problem

You want to monitor the progress of a file as it uploads to your server.

Solution

Listen for a progress event.

Discussion

You can monitor file upload progress, much as you can monitor a file download progress. A FileReference object dispatches progress events when the file is uploading. When the file has completed uploading, it dispatches a complete event. See Recipe 23.3 for details.

See Also

Recipe 23.3




ActionScript 3. 0 Cookbook
ActionScript 3.0 Cookbook: Solutions for Flash Platform and Flex Application Developers
ISBN: 0596526954
EAN: 2147483647
Year: 2007
Pages: 351

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net