Hi all,
I'm working on a project that contains lots of photos with different widths/heights. When a thumbnail image within flash (which is a button) is pressed the popup will open a detailed image inside it. The popup should resize to the size of the photo loaded within it.

Any scripts/tuts out there to do this?

Cheers.