Image gallery with 'pop up' windows

I am not new to flash but i’m still fairly unfamilar with actionscript. How would one go about making it so an image is clicked on and it enlarges the image within the flash on top of the thumbnail. Clicking it again would close the image. I was thinking of having the images externally as well. I would be greatful for any examples or help. thank you!