Re: [flexcoders] how to get image real/natural size?

2008-01-19 Thread Sherif Abdou
wouldn't that be the unscaledHeight, and unscaledWidth, so img.unscaledHeight - Original Message From: v.cekvenich [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Saturday, January 19, 2008 10:18:25 AM Subject: [flexcoders] how to get image real/natural size? I am making an

RE: [flexcoders] how to get image real/natural size?

2008-01-19 Thread Alex Harui
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: