Stuck, and i bet its simple

Why doesnt this work? thumbHolder.images is set from outside the clip…


for (i = 1; i < thumbHolder.images; i++){
        picloc = eval("picloc" + i)
        trace(picloc) 
          }