Tag Archives: visible

Modifying the corner white box on an MX Container when scroll bars are visible in Flex

The following example shows how you can modify the visibility and alpha of the white box in the lower-right corner of an MX Container in Flex when both the horizontal and vertical scroll bars are visible by using the rawChildren property and getChildByName() method.

Continue reading Modifying the corner white box on an MX Container when scroll bars are visible in Flex

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

Pausing a video in the Spark VideoPlayer control when it is removed from the display list in Flex 4

The following example shows how you can pause a Spark VideoPlayer control when it is hidden or removed from the display list in Flex 4 by setting the Boolean pauseWhenHidden property.

Full code after the jump.

Continue reading Pausing a video in the Spark VideoPlayer control when it is removed from the display list in Flex 4

Toggling a Flex container’s visibility

The following example shows a pretty crude method for toggling a container’s visibility and removing it from the Flex application layout. Mind you, this probably isn’t the preferred/recommended method of doing this (I imagine using states would be a lot nicer/cleaner) but hey, I’ll have to save that method up for another entry.

Full code after the jump.

Continue reading Toggling a Flex container’s visibility