I am using AS2 and have some basic functions setup to control simple movieclips on mouse events. ie rollOver and rollOut - nice n easy.
Works great except for when I have nested movieclips that contain getURLs functions. It is as if the parent functions overides the nested links. Is there a way of getting around this?
I know the instance names are correct because the moment I commented out:
promo1.onRollOver = gotoOver;
promo1.onRollOut = gotoOut;
the nested ‘getURL’ links began working properly. Would really appreciate it if someone could help me out with this… Thx
//****AS located in the main timeline****//
function gotoOver(){
this.gotoAndPlay("over");
}
function gotoOut(){
this.gotoAndPlay("out");
}
promo1.onRollOver = gotoOver;
promo1.onRollOut = gotoOut;
_root.promo1.subLink1.onRelease = function() {
getURL("http://www.linkgoeshere.com", "_self");
}
_root.promo1.subLink2.onRelease = function() {
getURL("http://www.linkgoeshere.com", "_self");
}
_root.promo1.subLink3.onRelease = function() {
getURL("http://www.linkgoeshere.com", "_self");
}
_root.promo1.subLink4.onRelease = function() {
getURL("http://www.linkgoeshere.com", "_self");
}