Use List Component

Go to Component panel and select component List. Drag the component to the canvas or double click it in the panel, then set its properties and parameters in Properties panel.

If you want to learn the details about the properties and parameters of List component, you may click here.

In Properties panel, you may set the general properties of the component under tab Properties. And the parameters are set under tab Parameters.

Sothink SWF Easy uselist1 Use List

data:

Here you may set an array of values that populate the data of the list. The default value is [] (an empty array). The data values will not show in the list, they are used to build one-to-one correspondence with label values. Double click the box besides data, then it appears dialog Values for your setting.

Sothink SWF Easy data Use List

labels:
You may input the label items showing in the list here. Double click the box besides label, then it appears dialog Values, of which is the same as data, for your setting.

Note: If there are some same label values in your list, you’d better set their data values to be different. That could help you avoid selection confusing.

multipleSelection:
You may set your list to be the one that users can make either single or multiple selections. The default value is “false”, which means the list allows users make single selection. You may click the arrow and select “true” from the pop up list, then your list will allow users make multiple selections.

rowHeight:
Here you may set the height, in pixels, of each row. The default value is 20. Setting a font does not change the height of a row.

enabled:
Here you may decide whether the component can receive focus and input. “true” means that the component is in the enabled state and it receives focus if you click it or tab to it while “false” means that the component is in the disabled state and it doesn’t receive mouse or keyboard input.

color:
You may edit the color of the component. Choose the color in the color box or customize one.

Save as default:
If you want to use the color you chose next time, you may click button Save as default for convenience.

 

As for event and method of List, you may set under tab Action.

Sothink SWF Easy uselist2 Use List

Here is a simple tutorial telling you how to create a list that users can make single selection.

AC_FL_RunContent( ‘codebase’,'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0′,’width’,’105′,’height’,’105′,’src’,’../c-image/list1′,’quality’,'high’,'pluginspage’,'http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash’,'movie’,’../c-image/list1′ ); //end AC code

1. Add list component.

Go to Component panel and select List, drag it to the canvas.

2. Set parameters for the button.

Go to Properties panel for list, under tab Parameters, double click the box besides data, then it appears dialog Values for your setting. Click button Add to add nine datas. Then click OK. Double click the box besides label and it appears dialog Values. Click button Add to add labels. Besides the labels’ number, double click the value boxes and input the value you want to show in the list. Here input “label 1″ to be the value for the first label, “label 2″ for the second…… Click OK to finish. Keep multipleSelection to be “false”. Keep rowHeight to be “20″. Keep enabled to be true. Click the drop-down arrow besides color and select a red color in the color box pop up.

4. Preview the component.

Click button Preview on Toolbar. Check whether the scrollbar in the list works right and whether the items in the list could be selected singly.

 

 

Use List