PDA

View Full Version : Tree Component, itemRollOver, and the "selected" index


nytyme
08-29-2004, 11:17 PM
First let me start off apologizing if this has been addressed, I am currently searching actionscript.org and other sites for the answer... but "tree" is really common.

I'm using the built-in Flash MX Tree component.
I can use on(itemRollOver) with it, which is what I think I want to use. My question is, can I get the index of the TreeNode that I'm over?
I found selectedIndex, but I haven't selected anything yet.

Thanks.

maglez
08-31-2004, 02:56 PM
Search the Flash help for List.itemRollOver, there is an example in there. I have tried and it works fine.