Well, have a look at the attached mxml file.  It should do what you want to
do.

Mark

On 2/21/07, Jack Caldwell <[EMAIL PROTECTED]> wrote:

   Mark:

Yes, I need the root node to be visible.

Thanks,

Jack

 ------------------------------
*From:* [email protected] [mailto:[EMAIL PROTECTED] *On
Behalf Of *Mark Doberenz
*Sent:* Wednesday, February 21, 2007 9:56 AM
*To:* [email protected]
*Subject:* Re: [flexcoders] Root Node open when displayed.

 Do you even need the root node to be visible?
If not, there's a ShowRootNode property and you can set it to false.

Might be easier, might not.

On 2/21/07, jwc_wensan <[EMAIL PROTECTED]> wrote:
>
>   I have a tree with one node/root and several branches. When this
> screen is displayed, I would like to have the branches automatically
> opened. In other words, so the user does not have to click on the
> node to open its branches.
>
> I would also like to prevent/turn off where the node/root can be
> closed. In other words, I would like for the node/root to always be
> open.
>
> I would think it requires a function to manually set this, but I am
> not sure of the code.
>
> Any help, example, direction will be appreciated.
>
> Thanks,
>
> Jack
>
>

Attachment: test.mxml
Description: Binary data

Reply via email to