--- In [email protected], "ben.clinkinbeard" <[EMAIL PROTECTED]> wrote: > > FYI, in case you haven't seen this one: > http://www.madeinflex.com/img/entries/2007/05/customeasingexplorer.htm l
Yes, I had seen that, which is why I made sure I mentioned that I was trying to explore the built-in functions and not making a custom function. I figured people would be less likely to send me to that ;- ). However, if you see anything in what that is doing that would work for what I need, maybe I have missed something. I would love it if I could find a way to use this as just a generic easing explorer for my own objects to see what the in-built easing functions do. This is aggravatingly difficult to do...at this point it would have been far faster to just do a swich case and hard-code in all the easing functions. Not very dynamic or extensible, though, which kind of goes against the spirit of Flex. -Amy > --- In [email protected], "Amy" <amyblankenship@> 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; > > } > > >

