2 Replies Latest reply on Apr 2, 2007 12:07 PM by breez11

    Issue with var inside function

    breez11 Level 1
      I have a for loop that is adding button functionality to 16 buttons on the stage. It is targeting the button fine with no problem using the var i as the button number. The issue is inside the button function I have another nested button function for the on state of the button which I also use the var i to specify the url number I want associated with the particular button but it is always outputting 17. I don't even understand how it is getting that number. Here is the code.