Re: [flexcoders] Tree and array data

2008-12-19 Thread Dan Vega
I don't think its just icon though is it? It needs to be a branch with an arrow next to it so that you can click on it to expand the folder. Thank You Dan Vega danv...@gmail.com http://www.danvega.org On Thu, Dec 18, 2008 at 2:43 PM, Fotis Chatzinikos fotis.chatzini...@gmail.com wrote: use

Re: [flexcoders] Tree and array data

2008-12-19 Thread Fotis Chatzinikos
Then, you could possibly add a fake object inside that node's children with a label loading, so the framework will know that this node contains something and automatically show arrow and folder. On click, call the rpc service to load the new data and on reply replace the loading node with the real

[flexcoders] Tree and array data

2008-12-18 Thread Dan Vega
I am in the middle of building a file explorer and I have come to a stumbling block. I have a simple screen that has a tree on the left and a grid on the right. My ColdFusion components return an array and I end up with something that looks like this. So far it works great but all of my

RE: [flexcoders] Tree and array data

2008-12-18 Thread Alex Harui
Will there ever by any leaves? If not, just replace the leaf icon with the branch icon From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Dan Vega Sent: Thursday, December 18, 2008 8:57 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Tree and array data

Re: [flexcoders] Tree and array data

2008-12-18 Thread Dan Vega
but not every folder will be a branch, only those who have children. I can set the default leaf icon to a standar folder but I am stuck on how to treat branches using my example.

Re: [flexcoders] Tree and array data

2008-12-18 Thread Fotis Chatzinikos
use iconFunction=yourFunction() where yourfunction checks your isLeaf variable and assigns a folder or leaf icon On Thu, Dec 18, 2008 at 9:07 PM, Dan Vega danv...@gmail.com wrote: but not every folder will be a branch, only those who have children. I can set the default leaf icon to a