[flexcoders] TileList itemRenderer help

2008-12-19 Thread lelander
Hello!

I build a custom itemRenderer in actionscript for a TileList, that displays an 
image and 
positions it on the bottom of the tile.  I want to be able to programatically 
control the size of 
the tiles and create an effect when they are resized.  What methods do I need 
to interact with 
in order to accomplish this?

Thank you!
JP



Re: [flexcoders] TileList itemRenderer help

2008-12-19 Thread Manish Jethani
On Fri, Dec 19, 2008 at 10:53 PM, lelander lelan...@mac.com wrote:

 I build a custom itemRenderer in actionscript for a TileList, that displays 
 an image and
 positions it on the bottom of the tile.  I want to be able to programatically 
 control the size of
 the tiles and create an effect when they are resized.  What methods do I need 
 to interact with
 in order to accomplish this?

It seems the only way to set the width of a column in a TileList is by
setting the columnWidth property. This will set the width of _all_ the
columns though. So it's not exactly going to solve your problem.
There's no way to different widths for different columns, from what I
can tell. You're probably going to end up having to write your own
custom control.

Manish


RE: [flexcoders] TileList itemRenderer help

2008-12-19 Thread Tracy Spratt
Look into (google) the FlowBox component.

Tracy

 



From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Manish Jethani
Sent: Friday, December 19, 2008 2:23 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] TileList itemRenderer help

 

On Fri, Dec 19, 2008 at 10:53 PM, lelander lelan...@mac.com
mailto:lelander%40mac.com  wrote:

 I build a custom itemRenderer in actionscript for a TileList, that
displays an image and
 positions it on the bottom of the tile. I want to be able to
programatically control the size of
 the tiles and create an effect when they are resized. What methods do
I need to interact with
 in order to accomplish this?

It seems the only way to set the width of a column in a TileList is by
setting the columnWidth property. This will set the width of _all_ the
columns though. So it's not exactly going to solve your problem.
There's no way to different widths for different columns, from what I
can tell. You're probably going to end up having to write your own
custom control.

Manish