The EAFlashUpload provides a height level of customization. There are many properties allows to define a various behavior of the component. Almost all graphical elements can be fully customized. Size, position, colors for different state, gradient colors, borders, texts, visibility etc is changeable.

The component can be configured by three ways: via XML, via html code, via JavaScript API. The main point of configuration is a string reference to the objects properties. If configuration is defined via XML then an object name acts as a XML node and the object properties act as attributes of the XML node. If configuration is defined via JavaScrip API reference to the object propeerties may be as follows: "objName.objProp". Let's see examples of various configuration types:

You can to specify part of configuration on the page and part in the XML configuration file, in this case property defined on the page has more priority and overloads value that defined in the XML configuration file.

We recomend using SWFObject for embedding the EAFlashUpload on the page instead of using standard <object> and <embed> tags.



Data types:

The following table describes data type usage for different ways of configuration.
Data type XML file SWFObject <object> tag JavaScript API
String String String String String
Integer String.
Ex: <queue filesCountLimit="30" />
Integer.
Ex: flashvars["queue.filesCountLimit"] = 30
String.
Ex: <param name="FlashVars" value="queue.filesCountLimit=30"/>
Integer.
Ex: EAFlashUpload.setProperty("queue.filesCountLimit", 30);
Boolean String.
Ex: <queue filteredFileSelection="true" />
Boolean.
Ex: flashvars["queue.filteredFileSelection"] = true
String.
Ex: <param name="FlashVars" value="queue.filteredFileSelection=30"/>
Boolean.
Ex: EAFlashUpload.setProperty("queue.filesCountLimit", 30);
Array String.
Ex: <queue allowedExtensions="All files:*.*|Images (*.gif, *.jpg, *.png):*.jpg;*.gif;*.png" />
String.
Ex: flashvars["queue.allowedExtensions"] = "All files:*.*|Images (*.gif, *.jpg, *.png):*.jpg;*.gif;*.png"
String.
Ex: <param name="FlashVars" value="queue.allowedExtensions=All files:*.*|Images (*.gif, *.jpg, *.png):*.jpg;*.gif;*.png"/>
Array.
Ex: EAFlashUpload.setProperty("queue.allowedExtensions", ["All files:*.*", "Images (*.gif, *.jpg, *.png):*.jpg;*.gif;*.png"];


Requirements related to assigning values: