ImageUploaderFlash.PreRender Event HTML5/Flash Uploader

Supported technologies: Adobe FlashHTML 5

This event fires before the writeHtml() or getHtml() method is executed.

Syntax

ASP.NET
<script type="text/javascript">
function ImageUploaderFlash1_PreRender(){
    //...your code...
}
</script>
<aur:ImageUploaderFlash ID="ImageUploaderFlash1" runat="server">
    <ClientEvents>
        <aur:ClientEvent EventName="PreRender" HandlerName="ImageUploaderFlash1_PreRender" />
    </ClientEvents>
</aur:ImageUploaderFlash>
PHP
<script type="text/javascript">
function ImageUploaderFlash1_PreRender(){
    //...your code...
}
</script>
<?php
    $ImageUploaderFlash = new ImageUploaderFlash("ImageUploaderFlash1");
    //...other params...
    $ImageUploaderFlash->getClientEvents()->setPreRender("ImageUploaderFlash1_PreRender");
    //...other params...
    $ImageUploaderFlash->render();
?>
JavaScript
function ImageUploaderFlash1_PreRender(){
    //...your code...
}
$au.imageUploaderFlash({
    events: {
        //...other params...
        preRender: [ImageUploaderFlash1_PreRender],
        //...other params...
    }
})

See Also

Reference

Manual