Question
Creating a list with different row sizes...
I'm new to AS 3.0 and CS4 and I've been getting up to speed
on all of it. I've used the List component before with my own
CellRenderer. I now need to create a list with different row
heights. The List component is great and does everything that I
want but it requires all rows to be the same height.
I'm unsure of where to go. Creating my own class seems like a lot of work. The TileList and Grid components don't allow different sized (and dynamically changing) row heights either. Is there some base class (SelectableList? BaseScrollPane?) that I should extend or do I need to just bite the bullet and write it all from scratch?
I need each row to have it's own height and interaction with a row could change the height of the row. The main use is a list of data. If the user clicks in an item, it turns the display into something they can edit (which will need more height).
Thanks for any thoughts on a direction I should think about. By the way, I really like that AS 3.0 is much more consistent of a programming language than previous MX versions that I've used. We're doing a lot of AS/Flash/AIR work with it and it's turning into a wonderful environment...
I'm unsure of where to go. Creating my own class seems like a lot of work. The TileList and Grid components don't allow different sized (and dynamically changing) row heights either. Is there some base class (SelectableList? BaseScrollPane?) that I should extend or do I need to just bite the bullet and write it all from scratch?
I need each row to have it's own height and interaction with a row could change the height of the row. The main use is a list of data. If the user clicks in an item, it turns the display into something they can edit (which will need more height).
Thanks for any thoughts on a direction I should think about. By the way, I really like that AS 3.0 is much more consistent of a programming language than previous MX versions that I've used. We're doing a lot of AS/Flash/AIR work with it and it's turning into a wonderful environment...