You can do something like
var node:Object = new Object(); node.label = "LABELTEST"; node.data = "DATATEST"; node.url = "url" node.index =1; node.state ="VI"; var root = treeDP.addTreeNode(node); You can later access the values using the getProperty method. |---------+-----------------------------> | | | | | "augie3333" | | | <[EMAIL PROTECTED]> | | | Sent by: | | | flexcoders@yahoogroups.com | | | 11/30/2005 12:54 PM | | | Please respond to | | | flexcoders | | | | |---------+-----------------------------> >-----------------------------------------------------------------------------------------------------------------------------| | | | To: flexcoders@yahoogroups.com | | cc: | | Subject: [flexcoders] addTreeNode Parameters question | >-----------------------------------------------------------------------------------------------------------------------------| Hello, Can someone point me in the direction of how I would go about adding more Parameters to addTreeNode beside the regular (label, data) arguments. (examp.(label, data, url, etc.)) Thanks in advance for all your help. -Augie Marcello -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links --------------------------------------------------------------------------- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary , confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender and erase this e-mail message immediately. --------------------------------------------------------------------------- ------------------------ Yahoo! Groups Sponsor --------------------~--> 1.2 million kids a year are victims of human trafficking. Stop slavery. http://us.click.yahoo.com/.QUssC/izNLAA/TtwFAA/nhFolB/TM --------------------------------------------------------------------~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/