PDA

View Full Version : Button Link issue


dopamine
07-25-2003, 09:02 PM
I am very new and I seem to be hacing a problem redirecting to a link after a button is clicked on.
Thanks in advance.

JHallam
07-25-2003, 09:08 PM
Redirectly, such as?

//Button, getting a URL within a new window
on(Release) {
getURL("someURL",_blank)
}


?

dopamine
07-25-2003, 09:28 PM
Actually my problem is i have a button, a text button. And a mouseover animation for it.
The on (release) doesn't work with text buttons i think

JHallam
07-25-2003, 09:46 PM
hmm..?? not understanding here, can you just upload your .fla?

then I'll get an understanding quickly

Adrenaline
07-25-2003, 09:51 PM
I'm not sure what you mean by a text button. A button is a button. If you mean you made a text box and typed some text and made it into a button, you have to have your mouse over the actually text to be able to click on it. As for as the code
on(Release) {
getURL("yourURL",_blank)
}
will open your url in a new window
on(Release) {
getURL("yourURL")
}
will open your url in the current window.

Just be sure you put the code in for the button not in the timeline.

dopamine
07-25-2003, 09:59 PM
When i goto edit my button it says i cant add actions to it

Adrenaline
07-25-2003, 10:22 PM
Right click on it and "convert to symbol" pick a name for it and select button.

dopamine
07-25-2003, 10:25 PM
Alright i figured it out thanks guys