FileDownloader.InitComplete Event

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Raised when File Downloader is completely created and initialized.

Syntax

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

Remarks

When iuembed.js is used, it is highly recommended to use fullPageLoadListenerName instead of this event. The difference is that fullPageLoad is raised when File Downloader is initialized and the rest of the page is loaded. It allows manipulating other page elements (not only File Downloader).

See Also

Manual