FileDownloader.Progress Event

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Raised to indicate the progress of the download.

Syntax

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

Parameters

PercentTotal

Percentage of the whole download process completion (taking into account all files in the queue).

PercentCurrent

Percentage of the download process completion for the current file.

Index

The number of the file being currently downloaded.

See Also

Reference