Re: [Flashcoders] removing a treenode which is selected

2006-02-25 Thread Michael Stuhr

Scott Hyndman schrieb:

Nope. You're thinking of removeTreeNodeAt().

  

ouch! you're right ...
thanks

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


RE: [Flashcoders] removing a treenode which is selected

2006-02-24 Thread Scott Hyndman
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


Re: [Flashcoders] removing a treenode which is selected

2006-02-24 Thread Michael Stuhr

Scott Hyndman schrieb:

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();
}

i just closed flash, at least for the neaxt 12 hours i'm off, but isn't 
removeTreeNode expecting an index ?



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


RE: [Flashcoders] removing a treenode which is selected

2006-02-24 Thread Scott Hyndman
Nope. You're thinking of removeTreeNodeAt().

Scott 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael
Stuhr
Sent: February 24, 2006 2:13 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] removing a treenode which is selected

Scott Hyndman schrieb:
 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();
 }
 
i just closed flash, at least for the neaxt 12 hours i'm off, but isn't
removeTreeNode expecting an index ?


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