# Tree component in mx 2004

**URL:** <https://forum.kirupa.com/t/tree-component-in-mx-2004/163357>\
**Category:** flash\
**Created:** [September 21, 2005, 7:44pm UTC](https://forum.kirupa.com/t/tree-component-in-mx-2004/163357 "2005-09-21T19:44:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Intruder](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/intruder/32/883_2.png) [@Intruder](https://forum.kirupa.com/u/Intruder)\
**Post date:** [September 21, 2005, 7:44pm UTC](https://forum.kirupa.com/t/tree-component-in-mx-2004/163357/1 "2005-09-21T19:44:55Z")

</div>

Is there any way to set a node in selected state in the tree component.

eg : when I click a button, the page 2 should be tree item 2 should be highlighted. Can hte setFocus do it ?? Im not sure

Any ideas ??
