|
Prev: Download from FTP
Next: save
From: MughalShahzad on 21 Jan 2008 06:47 I am using Tree Component of Flash Mx 8 in Director Version 10. I want to get the index or value of node if any one of clicked by the user. Regards, Shahzad
From: Rob Dillon on 21 Jan 2008 11:05 You can use a mouse event function in a behavior attached to the Flash sprite that holds the tree component. property thisSprite on beginSprite me thisSprite = me.spriteNum on mouseUp me put sprite(thisSprite).treeComponentInstanceName.selectedNode.attributes.label put sprite(thisSprite).treeComponentInstanceName.selectedIndex end just plug in the actual name of the component.
|
Pages: 1 Prev: Download from FTP Next: save |