Moving individual sprites by name

Hi There people,

I’m trying to make a gallery in as3.

The idee is having multiple thumbs and when you click one it gets bigger and the other thumbs move left or right;


When you click [5]

It becomes:

i’m having trouble moving the other thumbs,
hope someone can help me!

Source included, what i got so far!