The following example shows how you can create a simple image gallery using the Spark PopUpAnchor control in Flex 4 using the PopUpAnchor, BitmapImage, and MX Image controls.
In a previous example, “Setting the width of the dropdown menu on a ComboBox control in Flex”, we saw how you could set the width of the dropdown menu on a Flex MX ComboBox control by setting the
The following example shows how you can change the width of the Spark DropDownList control’s pop up menu so the pop up menu width matches the contents rather than the DropDownMenu button control’s width by setting the Boolean
The following example shows how you can create a Spark DropDownList with a tile layout in Flex 4 by setting the
layout property to a TileList object.
Full code after the jump.
The following example shows how you can set the drop down menu width on a Spark DropDownList control by setting the
width property within a custom DropDownList skin.