As I was putting the effects for this application together, I found it easier to build a small wrapper class around the effects infrastructure to address the following issues:

You can’t use databinding.

You can’t easily create combinations of effects that apply to mulitple targets.

Unless your effects fit naturally into the sequence/parallel framework, it can be hard to choreograph your effects.

It’s hard to tell when a complex set of effects ends, because the effectEnd event is sent from the target, not from the effect.

These are all things we are looking into changing for 2.0, but you can address these issues now, with 1.5, using the following wrapper classes.

~

Timeline – allows you to choreograph transitions that refer to multiple targets and start at arbitrary times.Transition – a wrapper for effects that is a true faceless component. This allows it to participate in data binding. In addition, it has a start delay that makes it easier to sequence your effects.

8 Responses to “This is one way you can use data binding with effects.”

Nice contribution. These things indeed make it easier to do effects. Funily I always found that making procedural animations in Flash somewhat easier then in Flex, IF using the excellent animation package by Alex Uhlmann…

Oh how I wish I was, after MAX I can’t wait to start working with Flex Builder 2 and AS 3, but we have 4 Flex projects that need to get done before we are anticipating version 2 coming out…so I’ll have to wait. Thanks Sho.