Hi, Have you tried using mx.effects.TweenEffect? If you wanted to only use mxml, this could be done by making a component that has two states; TextInput backgoundColor 1 & 2. Inside of the component, add a transition effect (Tween) that occurs when the component changes state.
-TH --- In [email protected], "joshuajnoble" <[EMAIL PROTECTED]> wrote: > > I'm trying to create an effect that changes the background color of my > TextInput. I've tried using AnimateProperties with isStyle and > 'backgroundColor' but that produced a psychedelic freakout, probably > because the effect is trying to take hex values and turn them to ints. > I can write something that might work by subclassing the > AnimateProperties and turning all those hex values to decimals and > then back again. But before I start down that path: > 1. does anyone know of an easier/faster way to do this and if not, > 2. does anyone think that my plan of coverting hex to int and then > back will or will not work? > Thanks in advance for any ideas/thoughts. > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

