Button Downstate with motion?

Can you add motion tween on a downstate event in flash? So the changing of color of button appeares fluently.

edit

Yes you can!

You can on several way’s. Here is the easiest…

No, I mean MOTION TWEEN!!!

So IN a downstate Keyframe another MOTION TWEEN.

second question:

==> Can you set a style for after you clicked on a button???

yah…just put a keyframe in your downstate… make the button a movie clip, then double-click to go into symbol-editing mode. Then you can animate it how ever you want… the possibilities are endless ::beam:

Just curious:
what would the AS be to do the same thing - to tint change, but without using any tweening?

Thanks for info about that.

But folowing problem:

Can you set a style for after you clicked on a button???

So the state remains the same.???

What do you have to do then?

Nico>> What kind of style?
Jc>> Check the Color object and the setRGB method :slight_smile:

4 lines have to be painted white and a rectangle has to have a specific backcolor.

That is exactly the downstate of the object.

But I think I’ll make the button a graphic and I will edit him so it reflects the downstate from the original button.