This section describes properties of imagesList object.
List of properties
Property name |
Type |
Description |
Default values |
rowCount |
uint |
Indicates a number of visible rows inside imagesList. This property affects to sizes of whole ImageView. |
2 |
columnCount |
uint |
Indicates a number of visible columns inside imagesList. This property affects to sizes of whole ImageView. |
3 |
scrollDirection |
string |
Gets or sets a value that indicates whether the imagesList scrolls horizontally or vertically. |
"horizontal" |
backgroundColor |
Array |
An array of RGB hexadecimal color values to be used in the gradient for the background. |
[0xffffff] |
borderColor |
Array |
An array of RGB hexadecimal color values to be used in the gradient for the border. |
[0xe4e4e4] |
thumbUpColor |
Array |
An array of RGB hexadecimal color values to be used in the gradient for the scroll thumb background when the mouse is not over the component. |
[0xd7e0e7, 0xfdfdfe] |
thumbOverColor |
Array |
An array of RGB hexadecimal color values to be used in the gradient for the scroll thumb background when the mouse is over the component |
[0xd7e0e7, 0xfdfdfe] |
thumbDownColor |
Array |
An array of RGB hexadecimal color values to be used in the gradient for the scroll thumb background when the mouse is over the component and the mouse button is pressed. |
[0x6dbdd1, 0xf4f8fc] |
thumbBorderUpColor |
Array |
An array of RGB hexadecimal color values to be used in the gradient for the scroll thumb border when the mouse is not over the component. |
[0xb2b2b2] |
thumbBorderOverColor |
Array |
An array of RGB hexadecimal color values to be used in the gradient for the scroll thumb border when the mouse is over the component. |
[0xb2b2b2] |
thumbBorderDownColor |
Array |
An array of RGB hexadecimal color values to be used in the gradient for the scroll thumb border when the mouse is over the component and the mouse button is pressed. |
[0x77a0c3] |
arrowButtonsUpColor |
Array |
An array of RGB hexadecimal color values to be used in the gradient for the scroll arrow buttons background when the mouse is not over the component. |
[0xd7e0e7, 0xfdfdfe] |
arrowButtonsOverColor |
Array |
An array of RGB hexadecimal color values to be used in the gradient for the scroll arrow buttons background when the mouse is over the component. |
[0xd7e0e7, 0xfdfdfe] |
arrowButtonsDownColor |
Array |
An array of RGB hexadecimal color values to be used in the gradient for the scroll arrow buttons background when the mouse is over the component and the mouse button is pressed. |
[0xf4f8fc, 0x6dbdd1] |
arrowButtonsBorderUpColor |
Array |
An array of RGB hexadecimal color values to be used in the gradient for the scroll buttons border when the mouse is not over the component. |
[0xbfced4] |
arrowButtonsBorderOverColor |
Array |
An array of RGB hexadecimal color values to be used in the gradient for the scroll buttons border when the mouse is over the component. |
[0xbfced4] |
arrowButtonsBorderDownColor |
Array |
An array of RGB hexadecimal color values to be used in the gradient for the scroll buttons border when the mouse is over the component and the mouse button is pressed. |
[0x77a0c3] |
trackColor |
Array |
An array of RGB hexadecimal color values to be used in the gradient for the scroll track background. |
[0xb2b5b6, 0xf5f6f7] |
trackBorderColor |
Array |
An array of RGB hexadecimal color values to be used in the gradient for the scroll track border. |
[0xbfced4] |
cellSpacing |
uint |
Indicates the space between cells in pixels. |
1 |
x |
uint |
X coordinate of the imageList. |
5 |
y |
uint |
Y coordinate of the imageList. |
5 |
The size of imagesList depends on the following properties:
rowCount,
columnCount,
cellStyle.maxImageWidth,
cellStyle.maxImageHeight. To determine actual size of the whole ImageView you need to handle
onImageViewResize event and apply new sizes dynamically via JavaScript. See also examples related to ImageView usage.
Examples:
The property of the imagesList is assigned via flashvars object of SWFObject on the html page:
flashvars["view.imagesList.backgroundColor"] = "#fdfdfe|#d7e0e7";