## Aurigma Image Uploader Flash 7.2

# ImageUploaderFlash.PreRender Event

- Collapse All Sections
- See Also
- Language Filter ( all languages )

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

- PreRender Property

### Manual

- Using Image Uploader Flash at Runtime

- PreRender (PHP)
- preRender (JavaScript)