FileDownloader.DownloadStep Event

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Raised to indicate that a certain step of the download process is started.

Syntax

JavaScript
<script type="text/javascript" src="iuembed.js">  </script>
<script type="text/javascript">
function FileDownloaderID_DownloadStep(Step) {
	//...your code...
}
var fd = new FileDownloaderWriter("FileDownloaderID", 610, 500);
//...params...
//...other event listeners...
fd.addEventListener("DownloadStep", "FileDownloaderID_DownloadStep");
//...other event listeners...
fd.writeHtml();
</script>

Parameters

Step

A numeric value that corresponds to a download step. The value can be one of the following:

Value Description
0 The whole download process has been started.
1 The whole download process has been completed.
2 The file list download is about to start.
3 The file list download has been completed.
4 Download confirmation dialog is about to be displayed.
5 Download has been confirmed by the user.
6 File download is about to start.
7 File download has been finished.
8 Download completion message is about to be displayed.
9 Download completion message has been displayed.
10 Download completion action is about to be performed.
11 Download completion action has been performed.

See Also

Reference