I'm trying to link all the images in my slideshow to their respective pages in AS2. With the code below:
Code:
stop();
next_btn.onRelease = function() {
if (_root._currentframe == 19) {
gotoAndStop(1);
} else {
nextFrame();
}
};
stop();
prev_btn.onRelease = function() {
if (_root._currentframe == 1) {
gotoAndStop(19);
} else {
prevFrame();
}
};
cracked_sand.onRelease = function(){
getURL("http://www.laisdilan.com/cracked_sand.html", "_self");
}
the cracked_sand button goes to the correct page. When I use the same onRelease code and just change instance names and URLs:
Code:
crackle.onRelease = function(){
getURL("http://www.laisdilan.com/crackle.html", "_self");
}
it does not work. Do I need separate frames in the action layer or?
LINK to .fla since it's just over the limit.