The following example shows how you can toggle child recycling in a Repeater object in Flex by setting the Boolean recycleChildren
property.
Full code after the jump.
Continue reading Toggling child recycling on a Repeater in Flex
The following example shows how you can toggle child recycling in a Repeater object in Flex by setting the Boolean recycleChildren
property.
Full code after the jump.
Continue reading Toggling child recycling on a Repeater in Flex
The following example shows how you can use the Repeater class with Flex 4. The trick to using the Repeater class in Flex 4 is that the repeater must be within an MX container (HBox, VBox, Canvas, mx:Panel, mx:Application, etc).
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
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)
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
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
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.
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