# Downloading a file using ActionScript 3 and timing it

**URL:** <https://forum.kirupa.com/t/downloading-a-file-using-actionscript-3-and-timing-it/288782>\
**Category:** flash\
**Created:** [May 20, 2009, 9:47pm UTC](https://forum.kirupa.com/t/downloading-a-file-using-actionscript-3-and-timing-it/288782 "2009-05-20T21:47:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![danjpalmer](https://avatars.discourse-cdn.com/v4/letter/d/858c86/32.png) [@danjpalmer](https://forum.kirupa.com/u/danjpalmer)\
**Post date:** [May 20, 2009, 9:47pm UTC](https://forum.kirupa.com/t/downloading-a-file-using-actionscript-3-and-timing-it/288782/1 "2009-05-20T21:47:03Z")

</div>

Hi,

I can initiate a file download from Flash using AS 3 but I would also like to display information like:

- How long the download took
- The average speed of the download in Kbps

Does anyone know if this is possible in AS 3 and if so how to go about doing it and then displaying the information in a Flash applet once the download has completed?

Thanks in advance for your help

Dan
