Assuming it is in the same security domain, you can use
content.loaderInfo.width/height after the complete event like this:
 
 <mx:SWFLoader id="ldr" source="wooddesk.jpg"
complete="trace(ldr.content.loaderInfo.width,
ldr.content.loaderInfo.height)" /> 


________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of v.cekvenich
Sent: Saturday, January 19, 2008 8:18 AM
To: [email protected]
Subject: [flexcoders] how to get image real/natural size?



I am making an image from string url of the image name.
How would I find it's real/natural image size?

.V



 

Reply via email to