2 Replies Latest reply on Jan 27, 2008 9:49 AM by NickTheNameless

    passing parameters to a function in a for loop

    NickTheNameless Level 1
      how do i pass the values of a for loop (for example the increment count) to a onRelease function inside that loop? in the example below the movie clip will always go to "whatever.php?var=10" because the value of i when you click it is 10. i want the value of i to be included for each run of the loop. how do i do that? i'm guessing maybe a listener, but i can't get anything to work.