View Full Version : Flash button to URL help, yes again.
Dragon
03-06-2008, 06:26 PM
Ok this code works:
button.onPress = function () {
getURL("http://www.sinisterdesign.net", "_blank");
}
But, it opens a whole new tab/window to that page I am linking to.
How would I change it so that it changes the current page to the one I am linking it to?
Hamly
03-06-2008, 06:37 PM
I think It's
button.onPress = function () {
getURL("http://www.sinisterdesign.net", "_self");
}
LizardRob
03-07-2008, 09:23 AM
I thought it was _this, have a try and see if it works.
Edit: You just don't put anything there, simply getURL ("url")
brianbrian25
03-21-2008, 08:42 PM
Or go to Window>Behaviors. You can easily do things to a button without having to use AS.
Soon to be flash master
03-22-2008, 03:48 AM
button.onPress = function () {
getURL("http://www.sinisterdesign.net", "_self");
}
Or
button.onPress = function () {
getURL("http://www.sinisterdesign.net", "_this");
}
Or
button.onPress = function () {
getURL("http://www.sinisterdesign.net");
}
vBulletin® v3.7.3, Copyright ©2000-2010, Jelsoft Enterprises Ltd.