<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=koi8-r" />
<title>Multiple files upload.</title>
<meta CONTENT="flash file upload, upload multiple files, flash upload control" NAME="keywords" />
<!-- Embedding the EAFlashUpload control -->
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
var params = {
BGcolor: "#ffffff",
wmode: "window"
};
// id and name attribute may contain any value.
// You need to use specified below identifier to access to the EAFlashUpload methods and properties.
var attributes = {
id: "FlashUploader",
name: "FlashUploader"
};
var flashvars = new Object();
flashvars["uploader.uploadUrl"] = "uploadfiles.aspx"; // you should specify an appropriate URL of script that will receive files.
flashvars["viewFile"] = "TableView.swf";
swfobject.embedSWF("EAFUpload.swf", "EAFlashUpload_holder", "450", "350", "10.0.0", "expressInstall.swf", flashvars, params, attributes);
// Handles EAFlashUpload's onMovieLoad event and displays existing loading errors.
function FlashUploader_onMovieLoad(errors)
{
if(errors != "")
alert(errors);
}
</script>
</head>
<body>
<p>
This example demonstrates how to upload multiple files to the server.
</p>
<div style="border: 1px solid #000000; padding: 10px;">
<b>Note:</b> Trial version has two limitiations: maximum files count is 10 and size of each file cannot be larger than 50 MB.
</div>
<br /><br />
<div id="EAFlashUpload_holder">
You need at least Adobe Flash Player 10 for successful work. Download the latest version from here:
<br />
<a href="http://www.adobe.com/support/flashplayer/downloads.html">Adobe Flash Player</a>
</div>
<br />
<hr />
<a target="_blank" href="http://www.easyalgo.com/quickstart/util/srcview.aspx?path=/Examples/EAFlashUpload/SimpleUpload.src">View source code</a>
</body>
</html>