This event indicates the progress of the upload.
<script type="text/javascript"> function ImageUploaderFlash1_Progress(percent, uploadedFiles, totalFiles){ //...your code... } </script>
<aur:ImageUploaderFlash ID="ImageUploaderFlash1" runat="server"> <ClientEvents> <aur:ClientEvent EventName="Progress" HandlerName="ImageUploaderFlash1_Progress" /> </ClientEvents> </aur:ImageUploaderFlash>
<script type="text/javascript"> function ImageUploaderFlash1_Progress(percent, uploadedFiles, totalFiles){ //...your code... } </script>
<?php $ImageUploaderFlash = new ImageUploaderFlash("ImageUploaderFlash1"); //...other params... $ImageUploaderFlash->getClientEvents()->setProgress("ImageUploaderFlash1_Progress"); //...other params... $ImageUploaderFlash->render(); ?>
function ImageUploaderFlash1_Progress(percent, uploadedFiles, totalFiles){ //...your code... }
$au.imageUploaderFlash({ events: { //...other params... progress: [ImageUploaderFlash1_Progress], //...other params... } })
Type: Number
Percentage of the whole upload process completion.
Type: Number
Number of the completely uploaded files.
Type: Number
Total number of files selected to be uploaded.
This event allows you to implement a custom upload progress indicator directly in HTML code.