Hello,
Thanks first for any help. This must be something small that I am missing.
I have two arrays both stored with button names and clip names. I have a function that has a for loop that counts the amount in the array and then should place the names from the array into the spots to run the buttons. I can access the arrays with the trace command but the buttons won’t work. Any ideas?
Thanks!
myButtons = new Array("homeBtn", "aboutBtn");
myClips = new Array("homeClip", "aboutClip");
function myRollOver(){
for(i=0; i<myButtons.length; i++){
//trace(myButtons*);
myButtons*.onRollOver = function() {
myClips*.gotoAndPlay("on");
}
}
}
myRollOver();