Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 03-04-2009, 07:04 AM   #1
Registered User
Join Date: May 2008
Posts: 3
Default Limit the levels displayed by a tree

i've a Tree Component in my project wich is filled with xml data like this:


Let's assume i want my tree to show only the first TWO levels ITEMS and SINGLE_ITEM. I don't want it show the levels TITLE and TEXT.
Any idea on how i can do this???
Thanks in advance
g.andreini is offline   Reply With Quote
Old 03-05-2009, 09:12 PM   #2
Peter Cowling
quantum tunneler
Join Date: Sep 2008
Location: London, UK
Posts: 882

I would duplicate the data collection, work on the duplicate, and then refresh / hook-up the results as the dataprovider. Unless you are working off a lot of data, this tends to be the best option.
Peter Cowling is offline   Reply With Quote
Old 03-11-2009, 03:23 PM   #3
Registered User
Join Date: May 2008
Posts: 3

is how i did
g.andreini 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
use data provider of existing tree to populate new tree? Paulskii Components 0 09-18-2008 07:01 PM
xml tree conundrum/problem grouchy ActionScript 2.0 3 03-25-2007 12:22 AM
Tree, 8 Pro: lines disappear after http refresh vaynerm Components 0 01-05-2006 04:38 PM
Tree Component crashes, Help! rtnews0423 Components 1 12-29-2004 07:10 PM
slideshow levels are not hiding allyson ActionScript 1.0 (and below) 2 09-29-2002 11:25 AM

All times are GMT. The time now is 02:14 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.