Simple as3 photo gallery ideas?

I would like to create a simple photo gallery in as3. I would like the user to be able to click on the image thumbnail and see an enlarged version come up next to it.
The only galleries I see for flash are XML galleries and it was really complicated the last time I tried it.

Any ideas for a simple gallery like the one I described above?

Thank you!