easingEffect is a style and you can't bind to styles. Instead, you
must use setStyle("easingEffect", newValue), whenever you want to
update it.
Peter
On Nov 25, 2007 6:17 PM, Amy <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
>
> I'm trying to build an easing explorer, so I can easily compare the
> different easing effects that are part of package mx.Effects.easing.
> However, I am at a loss as to how to change out the class name of the
> easing effect I want to change. I have tried to do this in the mxml:
>
> easingEffect="mx.effects.[{easingFunction}].easeInOut"
>
> that won't compile (implicit coercion). I've also tried to use my own
> custom effect to call each easing effect, but I am running into the
> same issue...I don't know how to switch out the class name at runtime.
> I've tried using getDefinitionByName, but that hasn't worked for me
> either.
>
> If anyone has any insight, I'd appreciate it.
>
> Thanks;
>
> Amy
>
>