• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Adding a List

The List component is a scrollable box that lets users select one or more items in the list. Lists are similar to the ComboBox component except List components can be formatted to display all of the available items at once; where the List component uses a drop-down (or up) feature to only display the items when requested (clicking the triangle button to the right of the list).

Add a List Component

Open the Components panel.

Click the UI Components Expand triangle.

Drag the List component onto the Stage, and then select the component.

Open the Component Inspector panel, and then select the Parameters tab.

IMPORTANT The List component reduces the clutter of a typical data screen by allowing you to control the height of a data box. For example, if you wanted a visitor to select their home State, from a list, you wouldn't want all 50 States permanently displayed on the screen. You would create a more manageable size box, and make the visitor scroll up or down to select the correct State.

Select from the following List parameters:

  • data. Click the value field, and then enter an array in the Values dialog box. Click the plus (+) sign to add values, and the minus sign (-) to remove a value. Data values are used to populate the list labels.

  • labels. Click the value field, and then enter an array in the Values dialog box. Click the plus (+) sign to add values, and the minus sign (-) to remove a value. Data values are used as the selectable items in the list.

  • multipleSelection. When you click the value field, and select true, the visitor can select more than one item in the list. If you select false, the visitor can only select a single item.

  • rowHeight. Click the value field, and then enter a number to determine the spacing between items in the list. The higher the value, the more space between items.

Click the Control menu, and then click Test Movie.

Click on a Chapter, and then select that chapter. You can now attach an ActionScript to the list to load the correct chapter.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint