Cool, thank you!
R

On 11/6/06, Michael Schmalle <[EMAIL PROTECTED]> wrote:
Hi,

Try using the

measureWidthOfItems(index: int = -1, count:int = 0):Number

and

measureHeightOfItems(index:int = -1, count: int = 0):Number

of the ListBase class.

I have had good luck using these methods. The calculations are based off of the dataProvider. I think this is what you are looking for.

Peace, Mike


On 11/6/06, Rachel Maxim < [EMAIL PROTECTED]> wrote:

Is there a way to size a tileList based on the contents inside, instead of setting a static height and width or min/max height and width? I'm mostly interested in just having the tile list height only as high as the tiles within it.
I think I could manually calculate the height based on the number of tiles within it to determine the number of rows, and thus the height...but I'm hoping there is a built-in way to do it.

Thanks
Rachel




--
Teoti Graphix
http://www.teotigraphix.com

Blog - Flex2Components
http://www.flex2components.com

You can find more by solving the problem then by 'asking the question'.

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to