---
title: "imageUploaderFlash.type Property  HTML5/Flash Uploader JavaScript"
canonical: https://www.aurigma.com/docs/us8/FH_P_J_$au_imageUploaderFlash_type.htm
product: "Upload Suite 8"
---

# imageUploaderFlash.type Property HTML5/Flash Uploader JavaScript

Supported technologies: ![Adobe Flash](https://www.aurigma.com/docs/us8/icons/flash.png)![HTML 5](https://www.aurigma.com/docs/us8/icons/html5.png)
 
Gets or sets type or priority of HTML5/Flash Uploader controls.

## Syntax
 
```
$au.imageUploaderFlash({
    //...other params...
    type: "html|flash",
    //...other params...
})
```

```
$au.imageUploaderFlash('uploaderID').type(value);
value = $au.imageUploaderFlash('uploaderID').type();
```
 
### Property Value
 
Type: **String**
 
Type or priority of HTML5/Flash Uploader controls.
 
Possible values are:
 
- **html|flash** the HTML5 control is used by default and the Flash control is used if the browser does not support HTML5
- **flash|html** the Flash control is used by default and the HTML5 control is used if the browser does not support Flash
- **html** the HTML5 control is used; if the browser does not support HTML5 the message appears
- **flash** the Flash control is used; if the browser does not support Flash the message appears

You can use this property to change default controls priority or to specify the only control to use.
 
Default value is **"html|flash"**.

## Example
 ```
var u = $au.imageUploaderFlash({
    id: 'Uploader1',
    type: 'flash|html'
});
u.writeHtml();
```

## See Also
 
### Reference
 
- [Aurigma.ImageUploaderFlash.BaseControl.Type ASP.NET Property HTML5/Flash Uploader](https://www.aurigma.com/docs/us8/FH_P_Aurigma_ImageUploaderFlash_BaseControl_Type.htm.md)
- [ImageUploaderFlash.Type PHP Property HTML5/Flash Uploader](https://www.aurigma.com/docs/us8/FH_P_P_ImageUploaderFlash_Type.htm.md)
