From the category archives:

AnimateProperties

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.

[click to continue…]

{ 4 comments }

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.

[click to continue…]

{ 0 comments }

The following example shows how you can repeat a property animation in Flex with the beta Gumbo SDK and Flash Player 10 using the AnimateProperties class and repeatCount property.

Full code after the jump.

[click to continue…]

{ 0 comments }

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.

[click to continue…]

{ 0 comments }