Category Archives: Effects

Incrementally 3D rotating objects using the Spark Rotate3D effect in Flex 4

In a previous example, “3D Rotating objects in Flex 4 using the Spark Rotate3D effect and Flash Player 10”, we saw how you could rotate objects in 3D space from 0 to 360 degrees along the X, Y, and Z axis using the Spark Rotate3D effect in the Flex 4 SDK.

The following example shows how you can rotate an image relative to its current rotation by setting the yBy property on the Spark Rotate3D instance.

Full code after the jump.

Continue reading Incrementally 3D rotating objects using the Spark Rotate3D effect in Flex 4

3D Rotating objects in Flex 4 using the Rotate3D effect and Flash Player 10

The following example shows how you can rotate objects in 3D space using the Flex Rotate3D effect using the latest version (build 4.0.0.8811) of the beta Flex 4 SDK.

Full code after the jump.

Continue reading 3D Rotating objects in Flex 4 using the Rotate3D effect and Flash Player 10

Creating a custom creation complete effect on a Flex Alert control (redux)

In a previous example, “Creating a custom creation complete effect on a Flex Alert control”, we saw how you could specify an effect which gets played when an Alert control is displayed by setting the Alert control’s creationCompleteEffect style.

The following example shows how you can apply a parallel Fade/Move effect when the Alert control is created by setting the the creationCompleteEffect effect/style in MXML and ActionScript.

Full code after the jump.

Continue reading Creating a custom creation complete effect on a Flex Alert control (redux)

Sequencing effects in Flex using the mx:Sequence tag (redux)

In a previous example, “Sequencing effects in Flex using the mx:Sequence tag”, we saw how you could sequence tween effects using the <mx:Sequence /> tag.

The following example shows how you can create the same sequenced effects using ActionScript instead of MXML.

Full code after the jump.

Continue reading Sequencing effects in Flex using the mx:Sequence tag (redux)