Daniel,

I am looking for something that would allow every branch to be recursively
set to Open. Wouldn't the code below only open the children of root?

Martin :)


On 10/27/05 2:06 PM, "Daniel Cascais" <[EMAIL PROTECTED]> wrote:

> Hi Martin,
> 
> I've used something like this (can't remeber exactly):
> 
> ------------------------------------------------------------------------------
> --
> 
> public function setTreeIsOpen(open:Boolean):Void
> {
>    for(var i:Number = 0; i < tree.length; i++)
>    {
>       tree.setIsOpen(tree.getTreeNodeAt(i), open, false);
>    }
> }
> 
> ------------------------------------------------------------------------------
> --
> 
> Hope it helps.
> 
> --
> Daniel Cascais
> Tel: +56 (0)2  4589495
> Cel: +56 (0)9  9417355
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to