AS2: Problem with instance names

I am creating a form and the text fields are contained in movieclips, who’s instance name is “input”+depth.

So each text field has the instance name input1, input2, input3, etc

The movieclips are inside another movieclip called with the instance name “container”.

The problem is when I use getURL to submit the data values this is the actionscript I am using this actionscript:


which obvious only sends the one value.
There are two solutions I can think of but I don’t know how to do either:

  1. send all the variables in “container”
  2. put something on the end of “input” that means input plus any number

Please help I have no idea.