Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tree Component IN Flash MX 2004

Status
Not open for further replies.

stevebroc

Programmer
Jun 7, 2004
1
GB
Hello All,

I am using the tree component in Flash MX 2004. The data source is an XML file. When I click on a node I want to return the path to that node. So for example, If I have a parent node called 'Parent' and four child nodes called 'Child1', 'Child2', 'Child3' and 'Child4', when the user clicks on 'Child1', the actionscript should return firstChild.firstChild, If the user clicks on 'Child2', then firstChild.firstChild.nextSibling will be returned.

Thanks very much.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top