This event fires when some restriction is broken.
<script type="text/javascript"> function ImageUploaderFlash1_RestrictionFailed(errorCode, fileName, message){ //...your code... } </script>
<aur:ImageUploaderFlash ID="ImageUploaderFlash1" runat="server"> <ClientEvents> <aur:ClientEvent EventName="RestrictionFailed" HandlerName="ImageUploaderFlash1_RestrictionFailed" /> </ClientEvents> </aur:ImageUploaderFlash>
<script type="text/javascript"> function ImageUploaderFlash1_RestrictionFailed(errorCode, fileName, message){ //...your code... } </script>
<?php $ImageUploaderFlash = new ImageUploaderFlash("ImageUploaderFlash1"); //...other params... $ImageUploaderFlash->getClientEvents()->setRestrictionFailed("ImageUploaderFlash1_RestrictionFailed"); //...other params... $ImageUploaderFlash->render(); ?>
function ImageUploaderFlash1_RestrictionFailed(errorCode, fileName, message){ //...your code... }
$au.imageUploaderFlash({ events: { //...other params... restrictionFailed: [ImageUploaderFlash1_RestrictionFailed], //...other params... } })
Type: Number
One of the following values:
Type: String
The name of the file which breaks the restriction.
Type: String
The message stating that the restriction is broken. The same message is displayed in the information bar.