Pics control

Hello,

I have 2 pics displayed as the photo gallery on the Flash page. Now, I need to know how to control the 2 pics. In other words, when I click on the 1st thumbnail pic, the real pic will come up, and the 2nd thumb pic will decrase in size and will move to the bottom right corner. How do I do that? Do we have any tutorial on this? Thanks