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,

As far as I know, the image has to be loaded first before you can retrieve those properties.


maybe you can load your images from an xml file and put the width and height as arguments in the xml file.

That’s a possibility, yep:)
But I wonder if that is what JamieMX is after…