Answered
Adding Links to my Flash Buttons, CS3 Professional
Hi
i have made some buttons that flash when the user hovers over them and need to add links to them as they are the navigation buttons.
i have got 1 of the buttons to work by using the following code in the actions panel:
HomeButton.onRelease=function(){
getURL(" http://www.grangestudridingschool.co.uk/index.html","_self")
}
this one works fine and can be seen at www.grangestudridingschool.co.uk
Another one of the buttons works but will not load up the page, the code for that button is as follows:
LiveryButton.onRelease=function(){
getURL(" http://www.grangestudridingschool.co.uk/livery.html","_self")
}
The problem I am having with the second button is that it is trying to link to the Livery page but without the .html so it is returning a 404 error because that isn't the title of the page!
So my first question is: why will it not link to livery.html and/or how do I make it link to that page?
My second question is why wont my other buttons work as i have used the same code and changed what needs changing, the following are the 2 errors i recive on my other buttons:
1120: Access of undefined property BreakingButton.BreakingButton.onRelease=function(){
1180: Call to a possibly undefined method getURL.getURL("www.grangestudridingschool.co.uk/breakingschooling.html","_self")
Sorry for the long winded explanation but I have been trying with this now for three days and i'm losing quite alot of hair trying to sort it.
Any help/advise would be greatly appreciated.
many thanks in advance
i have made some buttons that flash when the user hovers over them and need to add links to them as they are the navigation buttons.
i have got 1 of the buttons to work by using the following code in the actions panel:
HomeButton.onRelease=function(){
getURL(" http://www.grangestudridingschool.co.uk/index.html","_self")
}
this one works fine and can be seen at www.grangestudridingschool.co.uk
Another one of the buttons works but will not load up the page, the code for that button is as follows:
LiveryButton.onRelease=function(){
getURL(" http://www.grangestudridingschool.co.uk/livery.html","_self")
}
The problem I am having with the second button is that it is trying to link to the Livery page but without the .html so it is returning a 404 error because that isn't the title of the page!
So my first question is: why will it not link to livery.html and/or how do I make it link to that page?
My second question is why wont my other buttons work as i have used the same code and changed what needs changing, the following are the 2 errors i recive on my other buttons:
1120: Access of undefined property BreakingButton.BreakingButton.onRelease=function(){
1180: Call to a possibly undefined method getURL.getURL("www.grangestudridingschool.co.uk/breakingschooling.html","_self")
Sorry for the long winded explanation but I have been trying with this now for three days and i'm losing quite alot of hair trying to sort it.
Any help/advise would be greatly appreciated.
many thanks in advance
