Cool buttons

ok i have a problem with making this button, i have text and i want to make it a button (done that) and i also want to add a an effect upon a rollover…(did that) but now im having truble cause you have to have your mouse exactly over some part of the text in order work, even if your mouse hits that gaps between the letters, the link wont work, and this is annoying!!

what can i do?

i wana have an effect kinda like the one at http://www.2advanced.com/flashindex.htm with the buttons on the top of the main window!

-Albert

in the hit frame create a box around the text (where you want the mouse to find the button)

so like a transperant box, since i dont want anything else to be see besides the text, yet i want a transition like effect when a user mouse overs it!?

no, not a transparent box… it has to be a solid box.

the hit frame doesn’t actually show up visibly, but it just defines what area the button takes up, which is exactly what you want. So, in your button, go to the hit frame, make sure it’s a keyframe and draw a filled rectangle covering the area of the button you want…

ok you know when you open a button theres Up, Over, Down, Hit put a blank keyframe in the hit frame put in a rectangle the size you want the button (dosnt have to be transparent). the transition effect would be on the over frame (i put a small effect on up frame for koolness) thats about it.

spud99!! that’s exactly what i needed!! but how do i make so that when a user clicks on it, it opens a new website or goes to the next page…???

add some AS to it
on (release) {
getURL(“http://www.SiteName.com”, “_blank”);
}

in the “_blank” space you can open it in differnt styles blank opens a new window “_self” opens in the same window. hope this helps (to add the script right click on your button then click actions and paste it in)

umm where do i add that actionscript!?

click the button
press f9 to bring up the AS menu and put it in there

ah you might have it on normal mode if so open the actions panel click the little thing that looks like a book on the right hand side and change it to expert mode so you can paste in your own script.

thank you!!!

anything to help :slight_smile: