PDA

View Full Version : How to make button with text roll over?


kippie
02-16-2003, 03:09 PM
Can anyone help me how to make a button with text roll over in Flash ? I mean a peace of text which changes its color on roll over and refers to a anorther url with onClick ? Maybe there is a tutorial on this somewehere?

Kippie

sk8hardusd
02-16-2003, 03:20 PM
Ok, Write whatever text you want to have. Then select it, and convert it into a symbol, and choose Button. Then, open your library (ctrl+L) and right click on that symbol and click edit. Then on your timeline, there is up, over, down, and hit states. Insert keyframe on Over state, and then just change the color of the text while in that keyframe. THen for the opening of the url, go back to your _root, and click the text and open up your actionscript and put this in....
on (release) {
getURL ("theurlyouwant.com");
}


That should do it.

kippie
02-16-2003, 06:03 PM
Thanks,

Kippie

Originally posted by sk8hardusd
Ok, Write whatever text you want to have. Then select it, and convert it into a symbol, and choose Button. Then, open your library (ctrl+L) and right click on that symbol and click edit. Then on your timeline, there is up, over, down, and hit states. Insert keyframe on Over state, and then just change the color of the text while in that keyframe. THen for the opening of the url, go back to your _root, and click the text and open up your actionscript and put this in....
on (release) {
getURL ("theurlyouwant.com");
}


That should do it.