Posts tagged as:

enabled

In a previous example, “Disabling the mouse on the Spark VideoPlayer control scrub bar in Flex 4″, we saw how to disable the mouse on the Spark VideoPlayer control scrub bar in Flex 4 by setting the Boolean mouseEnabled and mouseChildren properties.

The following example shows how you can disable the scrub bar on the Spark VideoPlayer control in Flex 4 by setting the Boolean enabled property on the scrubBar skin part.

Full code after the jump.

[click to continue…]

{ 0 comments }

In a previous example, “Disabling an Application in Flex 3″, we saw how you could disable an entire Flex Application in Flex 3 by setting the Boolean enabled property on the application object.

The following example shows how you can disable an entire Spark Application in Flex 4 by setting the Boolean enabled property on the static FlexGlobals.topLevelApplication object.

[click to continue…]

{ 6 comments }

The following example shows how you can disable an entire Flex Application in Flex 3 by setting the Boolean enabled property on the application object.

Full code after the jump.

[click to continue…]

{ 0 comments }

In a suspiciously similar previous example, “Disabling specific buttons in a Spark ButtonBar control in Flex 4″, we saw how you could disable specific buttons in a Spark ButtonBar control in Flex 4 by using a custom skin and setting the skinClass style.

The following example shows you how you can modify specific buttons at runtime using the Flex 4 Spark ButtonBar control’s dataGroup property and getElementAt() method.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can disable specific buttons in a Spark ButtonBar control in Flex 4 by using a custom skin and setting the skinClass style.

Full code after the jump.

[click to continue…]

{ 2 comments }

The following example shows how you can disable/enable the play/pause button on the Spark VideoPlayer control in Flex Gumbo by setting the enabled property on the VideoPlayer control’s playPauseButton skin part.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can style the disabled state on a Spark TextInput control in Flex 4.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can disable a group of radio buttons by setting the Boolean enabled property on a Spark RadioButtonGroup control in Flex Gumbo.

Full code after the jump.

[click to continue…]

{ 0 comments }

Setting the arrow icon color of a disabled CheckBox control in Flex

by Peter deHaan January 29, 2009

The following example shows how you can set the icon color of a disabled Flex CheckBox control by setting the disabledIconColor style.
Full code after the jump.

Read the full article →

Setting the disabled text color on a CheckBox control in Flex

by Peter deHaan January 24, 2009

The following example shows how you can set the text color on a disabled Flex CheckBox control by setting the disabledColor style.
Full code after the jump.

Read the full article →

Disabling an Alert control in Flex

by Peter deHaan October 17, 2008

The following example shows how you can disable an Alert control for a specified number of milliseconds before the user can dismiss the dialog by setting the enabled property.
Full code after the jump.

Read the full article →

Removing the hand cursor from a disabled LinkButton control in Flex

by Peter deHaan September 7, 2008

The following example shows how you can remove the hand cursor from the a Flex LinkButton control by extending the LinkButton class, overriding the enabled setter function, and setting the useHandCursor property.
Full code after the jump.

Read the full article →