Be a Supporter!

help with buttons?

  • 351 Views
  • 4 Replies
New Topic Respond to this Topic
Fray
Fray
  • Member since: Jan. 4, 2005
  • Offline.
Forum Stats
Member
Level 03
Blank Slate
help with buttons? 2005-06-06 06:54:25 Reply

i know how to make the button and everything but when i hover over my button, i want it to fade in a colour, how do i do that??

Darkaxl
Darkaxl
  • Member since: Oct. 23, 2004
  • Offline.
Forum Stats
Member
Level 08
Blank Slate
Response to help with buttons? 2005-06-06 07:06:11 Reply

Its pretty Simple WHen uve made ure button double click on the symbol a new Timeline shud Open up with 4 Sepearte bars on it Up down Hover and Sumthin else 8) Cant remember.

in the second box make a new keyframe and change the colour to a more pale Version of the original Follow this all the way to the 4th bar and walla Ure done.


BBS Signature
Simple-Logistics
Simple-Logistics
  • Member since: May. 10, 2005
  • Offline.
Forum Stats
Member
Level 09
Blank Slate
Response to help with buttons? 2005-06-06 08:52:21 Reply

And now the more clear version...
right-click on your button, click on edit, then the timeline of the button should appear.
now make a motion tween (without motion, hahaha) and make the last frame a keyframe, and there change the button as you want it to be if the mouse is on it.
now go back to the main timeline (by clicking the blue arrow in the movieclip timeline)
and put this script in it:
on (rollOver) {
this.play();
}
on (rollOut) {
this.stop();
}
on (press) {
//Action you want to give the button when pressed//
}

BluArchon
BluArchon
  • Member since: May. 28, 2005
  • Offline.
Forum Stats
Member
Level 07
Blank Slate
Response to help with buttons? 2005-06-06 09:20:13 Reply

At 6/6/05 06:54 AM, Fray wrote: i know how to make the button and everything but when i hover over my button, i want it to fade in a colour, how do i do that??

After making the button. Double click on it and then you'll see four frames labelled as UP, OVER, DOWN, and HIT. Basically add some keyframes on all of them. After that, click on the Over state and then make it a movie clip. Then double click on it once again and then do your motion tween to change the color of your text.

Darkaxl
Darkaxl
  • Member since: Oct. 23, 2004
  • Offline.
Forum Stats
Member
Level 08
Blank Slate
Response to help with buttons? 2005-06-06 11:33:45 Reply

Yeah ignore GiZZi with all the AS way less complicated the quick way For Pausing use this AS

on(release){
Stop();}

Ditto for a play button but instead of "STOP" change it to "play"

xD


BBS Signature