This event fires when Image Uploader Flash is completely created and initialized.
<script type="text/javascript"> function ImageUploaderFlash1_InitComplete(){ //...your code... } </script>
<aur:ImageUploaderFlash ID="ImageUploaderFlash1" runat="server"> <ClientEvents> <aur:ClientEvent EventName="InitComplete" HandlerName="ImageUploaderFlash1_InitComplete" /> </ClientEvents> </aur:ImageUploaderFlash>
<script type="text/javascript"> function ImageUploaderFlash1_InitComplete(){ //...your code... } </script>
<?php $ImageUploaderFlash = new ImageUploaderFlash("ImageUploaderFlash1"); //...other params... $ImageUploaderFlash->getClientEvents()->setInitComplete("ImageUploaderFlash1_InitComplete"); //...other params... $ImageUploaderFlash->render(); ?>
function ImageUploaderFlash1_InitComplete(){ //...your code... }
$au.imageUploaderFlash({ events: { //...other params... initComplete: [ImageUploaderFlash1_InitComplete], //...other params... } })