Category Archives: TextInput (Spark)

Setting the disabled alpha on a Spark TextInput control in Flex 4

In a previous example, “Styling the disabled state on a Spark TextInput control in Flex 4”, we saw how you could style the disabled state on a Spark TextInput control in Flex 4 using CSS.

The following example shows how you can set the alpha of the disabled state of a Spark TextInput control in Flex 4 by creating a custom Spark TextInput skin and setting the alpha property on the disabled skin state.

Continue reading Setting the disabled alpha on a Spark TextInput control in Flex 4

Setting the border alpha on a Spark TextInput control in Flex 4

In a previous example, “Hiding the border on a Spark TextInput control in Flex 4”, we saw how you could toggle the border visibility on a Spark TextInput control in Flex 4 by setting the Boolean borderVisible style.

The following example shows how you can set the border alpha on a Spark TextInput control in Flex 4 by setting the borderAlpha style.

Continue reading Setting the border alpha on a Spark TextInput control in Flex 4

Creating a simple animated text ticker using the Spark TextInput control in Flex 4

The following example shows how you can create a simple, animated text ticker using a Spark TextInput control in Flex 4 by using the Animate and SimpleMotionPath classes to tween the horizontalScrollPosition property.

Full code after the jump.

Continue reading Creating a simple animated text ticker using the Spark TextInput control in Flex 4