Tag Archive for 'fade'

15
Sep

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)’

23
Apr

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)’

27
Feb

Setting effects with ActionScript in Flex

The following example shows how you can set effects on a Flex Image control using ActionScript by setting the showEffect and hideEffect effects using the setStyle() method.

Full code after the jump.

Continue reading ‘Setting effects with ActionScript in Flex’

12
Oct

Creating a custom creation complete effect on a Flex Alert control

The following example shows how to specify an effect which gets played when an Alert control is displayed by setting the Alert control’s creationCompleteEffect style. You can also see how to embed both the normal and bold font using CSS and @font-face.

Full code after the jump.

Continue reading ‘Creating a custom creation complete effect on a Flex Alert control’

19
Sep

Sequencing effects in Flex using the mx:Sequence tag

The following example shows how you can use the <mx:Sequence /> MXML tag in Flex to create combined effects which execute in order. This example shows how to fade a display object in, pause, and then fade a display object out. Also, the same thing but with a combination of Wipe effects.

Full code after the jump.

Continue reading ‘Sequencing effects in Flex using the mx:Sequence tag’