Weird Array

Hello forum, here I am again with another question this is more about a for loop.

Here my code


function overFunction(){
        var tt:MovieClip = this
        for(var i=0; i<howManyThums ; i++){
             var t = tt ["thumMc" + i];
        }
        tooltip._x = this._x - 30;
        tooltip._alpha = 100;
        trace(tt)
    }

Now my question is, when I trace tt the result is this



_level0.thumMc10
_level0.thumMc9
_level0.thumMc8
_level0.thumMc7
_level0.thumMc6
_level0.thumMc5
_level0.thumMc4
_level0.thumMc3
_level0.thumMc2
_level0.thumMc1
_level0.thumMc0

The think that I am trying to do is take the stack value of each MC that has been created in my for function let;s pretend the following result desired…


_level0.thumMc10 = 10
_level0.thumMc9 = 9
_level0.thumMc8 = 8
_level0.thumMc7 = 7
_level0.thumMc6 = 6
_level0.thumMc5 = 5
_level0.thumMc4 = 4
_level0.thumMc3 = 3
_level0.thumMc2 = 2
_level0.thumMc1 = 1
_level0.thumMc0 = 0

… and have that value inside a variable…


j = 10
 j = 9
 j = 8
 j = 7
 j = 6
 j = 5
 j = 4
 j = 3
 j = 2
 j = 1
 j = 0

Any input will be appreciated !!!:hugegrin: