In my tree I use an XML based data provider. An example is:

<category name="cat 1" code="001">
  <group name="group 1" code="987">
    <brand name="barnd 1" code="ABC"/>
  </group>
</category>

When a user opens a tree node, I can access an attribute as:

var n:String = [EMAIL PROTECTED];

How can I access the tag name to find out if it is a category, group
or brand etc.

Thank you

Andrew






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to