Is there a nice way in actionscript to detect the size of a jpeg loaded into a movie clip? I need to be able to dynamically load thumbnails and then detect their dimensions so that I can create a button that frames the jpeg nicely.

Thanks,

Randal