Hi folks,

I'm trying to update my tree data with a user's login name.  Here's my
latest try:

[Bindable]
private var treeXML:XML =
   <list>
      <node title="Name" label="">
       <node label="Calendar">
        <node label="Day"/>
        <node label="Week"/>
        <node label="Month"/>
       </node>
       <node label="Year"/>
       <node label="MultiCalendar"/>
       <node label="Permissions"/>
       <node label="Resources"/>
      </node>
   </list>;

[Bindable]
private var treeData:XMLListCollection = new
XMLListCollection(treeXML.node);

I can't figure out what syntax to use to change the label of the first
node.  I've tried a lot of different combo's, and can't seem to get the
right syntax.  Is there a way to update this in 1 statement?

TIA

Mike

Reply via email to