PDA

View Full Version : Getting Dynamic Image Dimensions



JamieMX
July 15th, 2004, 06:29 AM
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

scotty
July 15th, 2004, 06:42 AM
As far as I know, the image has to be loaded first before you can retrieve those properties.

scotty(-:

gerartje
July 15th, 2004, 07:03 AM
maybe you can load your images from an xml file and put the width and height as arguments in the xml file.

scotty
July 15th, 2004, 07:48 AM
That's a possibility, yep:)
But I wonder if that is what JamieMX is after...

scotty(-: