if i have a arraycollection , and here contain a lot of object like this
var contacts1:Object = {label: "account1" ,id:"1", protect:"true",
parentID:"0" };
var contacts2:Object = {label: "account2" ,id:"2", protect:"true",
parentID:"0" };
var contacts3:Object = {label: "inbox" ,id:"3", protect:"true",
parentID:"2" };
how can i build a tree ??
how to add those object to a tree?
remark: id=folder id
parentID = parent id, 0 = parent is root,
eg, object contacts3's parent is contacts2 and contacts2 is
under the root directly.
thx ~
--
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/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> 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/