Category Archives: NavigatorContent (Spark)

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