Category Archives: AnimateProperties

Auto scrolling the contents of a VGroup container in Flex 4

The following example shows how you can tab through a series of Spark TextInput controls in Flex 4 and auto-scroll the VGroup container so that the currently focused text field has focus by using the fractionOfElementInView() method, getScrollPositionDeltaToElement() method, and verticalScrollPosition property.

Full code after the jump.

Continue reading Auto scrolling the contents of a VGroup container in Flex 4

Using an easing function with the AnimateProperties class in Flex and Flash Player 10

The following example shows how you can apply an easing function to a property animation in Flex with the beta Gumbo SDK and Flash Player 10 by setting the easingFunction property on the AnimateProperties object instance.

Full code after the jump.

Continue reading Using an easing function with the AnimateProperties class in Flex and Flash Player 10

Animating properties using the AnimateProperties class in Flex and Flash Player 10

In a previous entry, “Rotating an image along its x-axis, y-axis, and z-axis in Flex and Flash Player 10”, we saw how you could rotate an image along the x-axis, y-axis, and z-axis by setting the rotationX, rotationY, and rotationZ properties.

The following example shows how you can use the new new AnimateProperties class to rotate of an image along the y-axis by animating the rotationY property.

Full code after the jump.

Continue reading Animating properties using the AnimateProperties class in Flex and Flash Player 10