Re: [flexcoders] Image component not resizing correctly

2010-09-02 Thread Haykel BEN JEMIA
You have to set 'maintainAspectRatio' to false if you want the content to
fill the image.

Le 2010 9 2 01:56, method_air loudj...@hotmail.com a écrit :
 Currently experiencing an Image component resizing issue:

 An Image component (inside an ItemRenderer/Spark List, with a fixed
width/height of '100') resizes incorrectly when it's source changes.

 The Image components source is initially set to an embedded placeholder
graphic (while the new source loads), and the Image width/height is correct.

 However when the new source loads, the Image component does not resize to
the Image width/height set dimensions, and the background of the item
renderer is visible.

 Any ideas how to fix this?

 Thanks,

 Philip





RE: [flexcoders] Image component not resizing correctly

2010-09-02 Thread Philip Smith

That worked. Thank you so much.

To: flexcoders@yahoogroups.com
From: hayke...@gmail.com
Date: Thu, 2 Sep 2010 09:05:03 +0100
Subject: Re: [flexcoders] Image component not resizing correctly


















 



  



  
  
  
You have to set 'maintainAspectRatio' to false if you want the content to fill 
the image.

Le 2010 9 2 01:56, method_air loudj...@hotmail.com a écrit :
 Currently experiencing an Image component resizing issue:
 

 An Image component (inside an ItemRenderer/Spark List, with a fixed 
 width/height of '100') resizes incorrectly when it's source changes. 
 
 The Image components source is initially set to an embedded placeholder 
 graphic (while the new source loads), and the Image width/height is correct.

 
 However when the new source loads, the Image component does not resize to the 
 Image width/height set dimensions, and the background of the item renderer is 
 visible.
 
 Any ideas how to fix this?

 
 Thanks,
 
 Philip
 
 
 






 









  

[flexcoders] Image component not resizing correctly

2010-09-01 Thread method_air
Currently experiencing an Image component resizing issue:

An Image component (inside an ItemRenderer/Spark List, with a fixed 
width/height of '100') resizes incorrectly when it's source changes. 

The Image components source is initially set to an embedded placeholder graphic 
(while the new source loads), and the Image width/height is correct.

However when the new source loads, the Image component does not resize to the 
Image width/height set dimensions, and the background of the item renderer is 
visible.

Any ideas how to fix this?

Thanks,

Philip





Re: [flexcoders] Image component not resizing correctly

2010-09-01 Thread Alex Harui
mx:Image width=”100” height=”100”  isn’t sizing at 100x100?

What does the renderer look like?


On 9/1/10 5:56 PM, method_air loudj...@hotmail.com wrote:






Currently experiencing an Image component resizing issue:

An Image component (inside an ItemRenderer/Spark List, with a fixed 
width/height of '100') resizes incorrectly when it's source changes.

The Image components source is initially set to an embedded placeholder graphic 
(while the new source loads), and the Image width/height is correct.

However when the new source loads, the Image component does not resize to the 
Image width/height set dimensions, and the background of the item renderer is 
visible.

Any ideas how to fix this?

Thanks,

Philip






--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui