> I am creating some skins for my buttons, but i have one problem. I want
> to have a nice transition from one skin (Up Skin) to another skin (Down
> skin). In other words i want to create a button that lights when i do
> mouseOver but slowly. IS that possible?

Hmm, good question...

In the Flash IDE, you'd just create animations in each state
(transition is tricky, but you could easily have it play an animation
at the beginning of a state and loop).

In Flex, you could do it with a programmatic skin, but you'd be
responsible for juggling all the animation and state information.
Again, transitions would be difficult, i.e. Up to Down plays this
animation, but Up to Over plays this animation (or whatever
transitions make sense).

If you wanted to keep things as "high level" as possible, by which I
mean doing it declaratively in MXML, you'd probably end up just
skipping a subclass of mx:Button and instead subclass mx:Canvas and
use effects/behaviors.

Troy.

Reply via email to