FYI, in case you haven't seen this one:
http://www.madeinflex.com/img/entries/2007/05/customeasingexplorer.html


--- In [email protected], "Amy" <[EMAIL PROTECTED]> wrote:
>
> I am trying to create an easing function explorer to be able to compare 
> the existing easing functions.  However, I am having a problem with the 
> syntax to change out the function at runtime.  I feel like I am really 
> close here, but I am at a loss as to what else to try.  Here is the 
> function I am using.
> 
> private function onListChange(e:Event):void {
>       easingFunction = e.target.selectedItem.label;
>       goToBottom.easingFunction = getDefinitionByName
> ("mx.effects.easing."+easingFunction).easeIn;
>       goToTop.easingFunction = getDefinitionByName
> ("mx.effects.easing."+easingFunction).easeIn;
> }
>


Reply via email to