Adobe 65036570 - Director - PC User Manual page 236

User guide
Hide thumbs Also See for 65036570 - Director - PC:
Table of Contents

Advertisement

List component parameters
You can set the following authoring parameters for each List component instance in the Property inspector or in the
Component Inspector panel:
data an array of values that populate the data of the list. The default value is [] (an empty array). There is no equiv-
alent runtime property.
labels an array of text values that populate the label values of list. The default value is [] (an empty array). There is
no equivalent runtime property.
multipleSelection a Boolean value that indicates whether you can select multiple values (true) or not (false). The
default value is false.
rowHeight indicates the height, in pixels, of each row. The default value is 20. Setting a font does not change the
height of a row.
You can write scripts to set additional options for List instances using its methods, properties, and events. For more
information, see "List class" in the Flash documentation.
Customizing the List component
You can transform a List component horizontally and vertically both while authoring and at runtime.
When a list is resized, the rows of the list shrink horizontally, clipping any text within them. Vertically, the list adds
or removes rows as needed. Scroll bars position themselves automatically.
Using styles with the List component
Set style properties to change the appearance of a List component.
A List component uses the following Halo styles:
Style
alternatingRowColors
backgroundColor
borderColor
borderStyle
defaultIcon
rollOverColor
selectionColor
selectionEasing
disabledColor
textRollOverColor
textSelectedColor
Description
Specifies colors for rows in an alternating pattern. The value can be an array of two or
more colors, for example, 0xFF00FF, 0xCC6699, and 0x996699.
The background color of the list. This style is defined on a class style declaration, ScrollSe-
lectList.
The black section of a three-dimensional border or the color section of a two-dimen-
sional border.
The bounding box style. The possible values are: "none", "solid", "inset", and "outset". This
style is defined on a class style declaration, ScrollSelectList.
Name of the default icon to use for list rows. The default value is undefined.
The color of a rolled over row.
The color of a selected row.
A reference to an easing equation (function) used for controlling programmatic
tweening.
The disabled color for text.
The color of text when the pointer rolls over it.
The color of text when selected.
ADOBE DIRECTOR 11.0
225
User Guide

Advertisement

Table of Contents
loading

This manual is also suitable for:

Director 11

Table of Contents