Getting Dynamic Image Dimensions

Does anyone know how to get the width and height properties of an image being dynamically imported into flash? (I need to know this BEFORE the whole image loads)

Thanks in advance,
J