Hello. I am very new with actionscript just read about it today and am trying this stuff out. So here is my script:
stop();
//setting up the list of frame names for the buttons
imagelist = [“horror”,“legs”,“chair”];
//‘next’ button setup
next_b.onrelease = function() {
gotoAndPlay (imagelist[0]);
}
trace(imagelist[0]);
trace (imagelist.length);
So my problem is that on the button release it doesn’t go to the frame that I labelled “horror.” Anyone know why? My button symbol is called b_next with instance name of next_b. So don’t think thats the problem. Is it because I made an array that equals the instance name of my frames?
Thanks for any & all help.
PS (Don’t think it matters but MX2004)