This an event handler that receives notification of a selection change. tree_change(eventObj:Object):Void { var selection:Object = eventObj.target.selectedNode; // remove node selection.removeTreeNode(); }
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Stuhr Sent: February 24, 2006 1:55 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] removing a treenode which is selected i'm braindead, after progging for the last 2 weeks for an intranet-projekt, mostly 12hours a day ... so i need some input: i need to remove a treeNode, which is selected, but couldn't find anything in the help files, or the archive. this is a neeb q, but i'm kinda in a hurry .... how would you do it ? micha _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com