[flexcoders] Re: Is thereany way using a Image Renderer ,I can change the widtth or height of an image?

2009-11-24 Thread Amy
--- In flexcoders@yahoogroups.com, Thomas Silvester wrote: > > How can i do that ? any sample code . In the Help files, there's something like "creating a style property," which will give you the outlines of what you need to do. HTH; Amy

Re: [flexcoders] Re: Is thereany way using a Image Renderer ,I can change the widtth or height of an image?

2009-11-24 Thread Thomas Silvester
Thanks a lot Chris, I made some modification to the code below  you gave and it did magic for me. Thanks again. Anitha. --- On Sun, 11/22/09, Chris wrote: From: Chris Subject: Re: [flexcoders] Re: Is thereany way using a Image Renderer ,I can change the widtth or height of an image? To

Re: [flexcoders] Re: Is thereany way using a Image Renderer ,I can change the widtth or height of an image?

2009-11-24 Thread Thomas Silvester
How can i do that ? any sample code . thanks, Anitha. --- On Sat, 11/21/09, Amy wrote: From: Amy Subject: [flexcoders] Re: Is thereany way using a Image Renderer ,I can change the widtth or height of an image? To: flexcoders@yahoogroups.com Date: Saturday, November 21, 2009, 7:59 PM

Re: [flexcoders] Re: Is thereany way using a Image Renderer ,I can change the widtth or height of an image?

2009-11-22 Thread Chris
Looking deeper into your code I noticed: That you are creating an Image *inside* an Image. There's no need to create an image inside an image, perhaps you should use one of the more generic 'container' classes inside mx.containers.*. In my example below I chose Canvas. You are constructing your i

[flexcoders] Re: Is thereany way using a Image Renderer ,I can change the widtth or height of an image?

2009-11-21 Thread Amy
--- In flexcoders@yahoogroups.com, "mitchgrrt" wrote: > > 3. Width and height are properties of Image, not styles, so setStyle() > won't work. You can add code to accept them as styles...

[flexcoders] Re: Is thereany way using a Image Renderer ,I can change the widtth or height of an image?

2009-11-20 Thread mitchgrrt
3. Width and height are properties of Image, not styles, so setStyle() won't work. --- In flexcoders@yahoogroups.com, Chris wrote: > > I am assuming that your list control has a set width and height. If you have > variableRowHeight=true, or you want a variable row height, then this answer > proba