Tag Archive for 'repeater'

29
May

Displaying CheckBox controls using the Repeater in Flex

The following example shows how you can display a series of CheckBox controls using the Flex Repeater with an Array data provider.

Full code after the jump.

Continue reading ‘Displaying CheckBox controls using the Repeater in Flex’

28
May

Displaying RadioButton controls using the Repeater in Flex (redux)

In a previous example, “Displaying RadioButton controls using the Repeater in Flex”, we saw how you could use a Repeater in MXML to display a series of Flex RadioButton controls based on a data provider.

The following example shows how you can create a Repeater using ActionScript to accomplish the same thing.

Full code after the jump.

Continue reading ‘Displaying RadioButton controls using the Repeater in Flex (redux)’

28
May

Displaying RadioButton controls using the Repeater in Flex

The following example shows how you can display a series of RadioButtons using the Flex Repeater with an Array data provider.

Full code after the jump.

Continue reading ‘Displaying RadioButton controls using the Repeater in Flex’

13
Apr

Creating a pop up TitleWindow using the PopUpButton control in Flex

The following example shows how you can create a pop up TitleWindow container using the Flex PopUpButton control.

Full code after the jump.

Continue reading ‘Creating a pop up TitleWindow using the PopUpButton control in Flex’

06
Jan

Creating a resizing ToolBar in Flex

The following example shows how you can create a toolbar in Flex by using the ToolBar container which automatically wraps and re-lays out its children when the toolbar is resized. According to the documentation in the class file (see [SDK Directory]\frameworks\projects\framework\src\mx\controls\richTextEditorClasses\ToolBar.as):

The ToolBar container lays out its children in a single horizontal row. If the width of the container is less than the measured width, the children wrap to the next line.
While wrapping, any VRule controls (separators) at the end of a row or the beginning of a row are not drawn.

Full code after the jump.

Continue reading ‘Creating a resizing ToolBar in Flex’

03
Oct

Displaying images from an XML file using the Repeater component

The following example shows you how to use the Repeater component to display images loaded from an external XML file.

Full code after the jump.

Continue reading ‘Displaying images from an XML file using the Repeater component’