Tim, I think this would best be done via the
Drawing API embedded into SWF Icons in Flex 1.5 and Flex 2. Node Icons would need to draw this: -----ICON Container Icons would need to draw this: -----ICON
| |
| Since each Icon knows its position, it can
readily draw the lines consistently. The trick here is that icons are refreshed
in the Tree whenever the view changes. As they are attached anew, they would
simply render out the state of the tree. The other route would be to use the
drawing API and render the lines in a MC behind the tree based on the state of
the DataProvider. I think this route would be more difficult as you would need
to draw the nested state of all nodes at one time. With the prior method only the changes
portion of the drawing changes as needed. I believe that depths get higher as
you move south on the tree. If a parent draws a line all sibling and child
nodes will naturally be above the drawn lines. My 2 cents, Ted Patrick Cynergy Systems From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of sufibaba Happy New years to All,
SPONSORED LINKS
YAHOO! GROUPS LINKS
-- -- |
- RE: [flexcoders] ANY FLEX TREE GURUS? Theodore E Patrick
- Re: [flexcoders] ANY FLEX TREE GURUS? Anatole Tartakovsky
- [flexcoders] Re: ANY FLEX TREE GURUS? sufibaba
- Re: [flexcoders] Re: ANY FLEX TREE GURUS? Anatole Tartakovsky