Tag Archives: complete

Playing a sound effect when a ProgressBar control completes in Flex

In a previous example, “Setting a complete effect on a ProgressBar control in Flex”, we saw how you could apply an effect that plays once a Flex ProgressBar control completes (reaches 100%).

The following code shows how you can play an embedded sound effect once a Flex ProgressBar control completes using the mx.effects SoundEffect class and the ProgressBar class’s completeEffect effect/style.

Full code after the jump.

Continue reading Playing a sound effect when a ProgressBar control completes in Flex