XML Gallery + thumbnails

Hi,
I am completely new to Actionscipt. I got interested on the nice thumbnail gallery desription.
I tried to modify it with another effect I saw somewhere “resize border”.
What I got now doesn’t function there is some kind of sequence problem in actions which I do not see . Probably because I do not grasp the coorect sequences on the onEnterFrame commands.
The thumbnails are correctly loaded but the picture and border not. When I press on the first picture I got exactly the effect I want to achieve (luckely at least something is working :slight_smile:
But how to get this effect right the first time and all the time over and over?

Any help and remarks are welcome.