5 Replies Latest reply on Jun 7, 2010 3:01 PM by kglad

    inserting variables into other variables

    Shad0wdrag0n Level 1

      I have several objects that have similar names, like slot1, slot2, slot3, etc. I also have a function that is supposed to do something to the first object, then the next, then the next, etc each time a button is pressed. Is it possible to insert variables into other variables? So say I have a variable called n that is increased each time the button is pressed. The function is then applied to slot"n" each time the button is pressed. How would I do this?