Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > Flex > Flex 2, 3 & 4

Thread Tools Rate Thread Display Modes
Old 08-17-2007, 11:27 PM   #1
Registered User
Join Date: Apr 2005
Posts: 32
Default help using ArrayCollection with Tree Component!

Here is the issue. I'm currently getting an ArrayCollection from my server that I need to load into a tree component. The ArrayCollection is structured something like this.

|_ group = "friends"
|_ name = "donald"
|_ status = "online"

|_ group = "business"
|_ name = "steve"
|_ status = "online"

|_ group = "friends"
|_ name = "brian"
|_ status = "offline"

Basically what I want to do is create a tree.. and I want the root nodes to be "group" ... and when that node expands shows all the name's from that group... so the tree should look like.

> friends
--- donald
--- brian
> business
--- steve

How can I do this with the ArrayCollection?
vistasoul is offline   Reply With Quote
Old 08-18-2007, 10:58 AM   #2
Registered User
Join Date: Apr 2005
Posts: 32

I found the solution to my problem online.... if anyone else is having a problem with this.. or just wanted to know the solution.. here it is

vistasoul is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to hide a tree component node? sushil_kokate Components 4 12-09-2009 02:11 AM
tree component and regular menu junjimalaza Components 0 11-10-2006 12:04 PM
Tree Component within Accordion Component forgueam Components 2 06-15-2006 02:04 AM
Tree Component and Media Player cealtman Components 1 01-08-2006 05:25 AM
Tree Component crashes, Help! rtnews0423 Components 1 12-29-2004 07:10 PM

All times are GMT. The time now is 07:03 AM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.