Re: [flexcoders] Flex 2: determine scaled dimensions of Loader content?

2006-03-05 Thread Samuel Reuben
. I'll forward this on and see if anyone knows anything. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tom BraySent: Thursday, March 02, 2006 10:57 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Flex 2: determine scaled dimensions of Loader content

Re: [flexcoders] Flex 2: determine scaled dimensions of Loader content?

2006-03-05 Thread Samuel Reuben
[mailto:flexcoders@yahoogroups.com] On Behalf Of Tom BraySent: Thursday, March 02, 2006 10:57 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Flex 2: determine scaled dimensions of Loader content? Say you do this:mx:Loader id=photo source=image.jpg width=200 height=150 scaleContent=true

[flexcoders] Flex 2: determine scaled dimensions of Loader content?

2006-03-02 Thread Tom Bray
Say you do this:mx:Loader id=photo source=image.jpg width=200 height=150 scaleContent=true/And the actual dimensions of image.jpg is 50x50. After the loader has loaded the image and scaled it, the loader's contentWidth and contentHeight say 50, but the image has been scaled to fit in the loader

RE: [flexcoders] Flex 2: determine scaled dimensions of Loader content?

2006-03-02 Thread Matt Chotin
, March 02, 2006 10:57 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex 2: determine scaled dimensions of Loader content? Say you do this: mx:Loader id=photo source=image.jpg width=200 height=150 scaleContent=true/ And the actual dimensions of image.jpg is 50x50. After the loader