Category Archives: Flex4

Setting the text roll over color on a Spark DropDownList control in Flex 4

In a previous example, “Setting the text roll over color on a ComboBox control in Flex”, we saw how you could change the text roll over color for a Flex MX ComboBox control by setting the textRollOverColor style.

The following example shows how you can change the text roll over color in the Spark DropDownList control’s hovered and selected states by creating a custom item renderer and setting the color style.

Continue reading Setting the text roll over color on a Spark DropDownList control in Flex 4

Scrolling to a specific index in a Spark List control in Flex 4

In a previous example, “Scrolling to a specific index in a Flex List control”, we saw how you could scroll to a specific item index in Flex by using the scrollToIndex() method.

The following example shows how you can scroll to a specific item index in a Spark List control in Flex 4 by using the ensureIndexIsVisible() method.

Continue reading Scrolling to a specific index in a Spark List control in Flex 4

Setting the symbol color on the Spark Spinner component in Flex 4

In a previous example, “Setting the chrome color on the Spark Spinner component in Flex 4”, we saw how you could set the chrome color on the Spark Spinner component in Flex 4 by setting the chromeColor style.

The following example shows how you can set the symbol color on the Spark Spinner component in Flex 4 by setting the symbolColor style.

Continue reading Setting the symbol color on the Spark Spinner component in Flex 4

Determining if the scroll bars are visible in a Spark Scroller container in Flex 4

The following example shows how you can determine if the vertical and/or horizontal scroll bars are visible on a Spark Scroller container in Flex 4 by checking the verticalScrollBar or horizontalScrollBar skin part’s Boolean visible property.

Continue reading Determining if the scroll bars are visible in a Spark Scroller container in Flex 4