[flexcoders] Re: Tree Component closing and opening item

2006-09-20 Thread Mick Robin
Thanks barry and Mike! I have tried all the permutations and combinations it works fine without animation but when we set the animation true.It does not. I agree with Mike,We really have to do some major changes on the Tree component to achive this. Anyway,I wanted to achieve somthing like thi

Re: [flexcoders] Re: Tree Component closing and opening item

2006-09-18 Thread Michael Schmalle
I was responding to the original question of > Can you open and close items at the same time with both of them tweening?If you know how to do that I'd love to see it. :) Maybe I am misunderstanding this conversation... Peace, MikeOn 9/18/06, bhaq1972 <[EMAIL PROTECTED]> wrote:

Re: [flexcoders] Re: Tree Component closing and opening item

2006-09-18 Thread Michael Schmalle
Hi,Actually, 'I think'... Having looked at the Tree code quite extensively, it is NOT possible.The reason being is the way the tween logic works in the Tree. When a tween is currently running, there cannot be any other tween going because there is only 1 instance of the tween in the whole tree.

[flexcoders] Re: Tree Component closing and opening item

2006-09-18 Thread bhaq1972
this can be done. > at first I was thinking of keeping a register of what was opened so I > knew what to close. you dont have to. mx:tree has a property called openItems ..this has a reference to all the opened items. all you have to do is check whether anything is opened during a Tree.itemOpe

[flexcoders] Re: Tree Component closing and opening item

2006-09-18 Thread barry.beattie
no takers, Mick? this was one thing I wanted to look into before being sidetracked with some datagrids. at first I was thinking of keeping a register of what was opened so I knew what to close. then I was thinking of closing all before opening the selected one. these are just some rough thoughts i