I think that in terms of current ease of
development the approach you’re taking is gonna work best. We’re
investigating whether we can add better effect support into Lists in a future
release (who knows if it will happen, but we’re researching). If you do
want to play with the List class though make sure to enable variableRowHeight
and just see what you can get going by doing something to continually change
the height of the cell renderer in the setValue method.
Matt
From: joeberkovitz
[mailto:[EMAIL PROTECTED]
Sent: Friday, March 04, 20058:07
AM
To: [email protected]
Subject: [flexcoders] Animating
changes to a list-like component
Hi all,
I'm interested in creating a component similar to
a List, but which
responds to dataProvider inserts/deletes by
animating the appearance
and disappearance of cells and smoothly
growing/shrinking their height.
I hacked something together that worked
surprisingly well (at least,
it surprised me ;) by using a Repeater around a
subclassed VBox that
animates the height of newly added or removed
children. However,
perhaps there's a better and cleaner way to do
this using a List and
CellRenderer. I'd appreciate any suggestions
on how to get a
CellRenderer to smoothly animate the row height of
a single row, or on
the pros/cons of sticking with the Repeater
approach.
I freely confess that I haven't yet tried toget
the CellRenderer
approach to work yet, so I'm fishing to get
creative ideas or to avoid
needless work, whichever you find least offensive.
Thanks...
.
. . . ...joe
Joe Berkovitz
Architect
Allurent, Inc.
30
Brattle St.
Cambridge, MA 02138
|