Category Archives: Accordion

Setting the border color on the MX Accordion container headers in Flex

In a previous example, “Setting the border style on the MX Accordion container in Flex”, we saw how you could set the border style on an MX Accordion container in Flex 3 by setting the borderStyle style.

The following example shows how you can set the border color on an MX Accordion container headers in Flex 3 by setting the borderColor style on the Accordion container’s headerStyleName style selector.

Continue reading Setting the border color on the MX Accordion container headers in Flex

Rewinding a video when changing the selected item in the MX Accordion container in Flex 4

The following example shows how you can rewind a Spark VideoPlayer control in Flex 4 when the selected MX Accordion container changes its selected item by listening for the hide event on the Spark NavigatorContent container and calling the seek() method on the VideoPlayer instance.

Continue reading Rewinding a video when changing the selected item in the MX Accordion container in Flex 4

Setting the padding on a Spark NavigatorContent container in Flex 4

The following example shows how you can set the padding on a Spark NavigatorContent container in Flex 4 by setting the layout property and the paddingLeft, paddingRight, paddingTop, and paddingBottom properties

Full code after the jump.

Continue reading Setting the padding on a Spark NavigatorContent container in Flex 4

Setting the content background color on an MX Accordion container in Flex 4

In a previous example, “Setting the base color on an MX Accordion container in Flex 4”, we saw how you could set the base color on an MX Accordion container in Flex 4 by setting the baseColor style.

The following example shows how you can set the content background color on an MX Accordion container in Flex 4 by setting the contentBackgroundColor style.

Continue reading Setting the content background color on an MX Accordion container in Flex 4