lfollett
03-01-2008, 03:36 AM
I am creating a header for a website and I want the buttons to stay in the downstate after click, until another one is clicked (not until another is mouseover). I am using MC for buttons. Here is the action script I have for one of the buttons. Can anyone tell me what I am doing wrong?
Also, is there anyway for the button to stay in the down state once referred to the next page without using a frame?
//End Terms; Begin Links
this.linksMC.onRollOver = function(){
linksMC.gotoAndPlay("_over");
}
this.linksMC.onRollOut = function() {
linksMC.gotoAndPlay("_out");
}
this.linksMC.onRelease = function() {
linksMC.gotoAndStop(9);
getURL("http://mydomain.com/links.html");
}
Also, is there anyway for the button to stay in the down state once referred to the next page without using a frame?
//End Terms; Begin Links
this.linksMC.onRollOver = function(){
linksMC.gotoAndPlay("_over");
}
this.linksMC.onRollOut = function() {
linksMC.gotoAndPlay("_out");
}
this.linksMC.onRelease = function() {
linksMC.gotoAndStop(9);
getURL("http://mydomain.com/links.html");
}