all groups > flash actionscript > december 2004 >
You're in the

flash actionscript

group:

Links problems


Links problems Mr_Freezie
12/1/2004 10:55:04 PM
flash actionscript:
I have a button in my Flash movie that is inside a movie clip. When the user
clicks on the button, I want it to go to www.awebsite.com. I used

on (release) {
getURL("http://www.awebsite.com/", "_self");
}

Except it won't go when I click on it.
Re: Links problems kglad
12/1/2004 11:18:28 PM
your last forward slash is interpreted as a release character. try:

on (release) {
getURL("http://www.awebsite.com", "_self");
Re: Links problems Mr_Freezie
12/1/2004 11:22:41 PM
I tried that, didn't seem to work. I think it has something to do with the
button being inside the movie clip, because the code is inside the button part.
When I moved the code to the movie clip part, it worked, but it messed up the
whole roll over thing I had going on. There is probably some easily solution
I'm not thinking of.
Re: Links problems kglad
12/1/2004 11:24:46 PM
Re: Links problems Mr_Freezie
12/1/2004 11:26:22 PM
Re: Links problems Mr_Freezie
12/1/2004 11:55:44 PM
Re: Links problems Mr_Freezie
12/2/2004 12:01:13 AM
Re: Links problems kglad
12/2/2004 4:35:29 AM
AddThis Social Bookmark Button