Advertisement

07.03.2008 at 06:54PM PDT, ID: 23538560
[x]
Attachment Details

Assigning tree component to display only a branch of XML structure, not all?

Asked by peter-h in ActionScript, Adobe Flex

Tags: Macromedia / Adobe, Flash Professional, MX2004, AS 2 Components, Actionscript 2

I have a database of items in various categories, organised as a tree structure, and displayed in a tree component connected to an XML source. In my app, I want to also include drop-downs of the categories , so the user can filter the tree, so it only shows items under that category/branch header.

So my problem is this: Can I, and how do I, reset the display of the tree component to only display items beginning at a particular node (the category chosen by the dropdown ) of an already-created XML object.

Do I have to duplicate the branch to another XML object? (If so, any suggestions as to the fastest way (in terms of CPU speed)?

Of could be a simple as saying something like: "Set XMLsource of tree Y to node of XMLobject X" ?

Thanks for you advise :)
PeteStart Free Trial
[+][-]07.03.2008 at 08:39PM PDT, ID: 21930875

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: ActionScript, Adobe Flex
Tags: Macromedia / Adobe, Flash Professional, MX2004, AS 2 Components, Actionscript 2
Sign Up Now!
Solution Provided By: peter-h
Participating Experts: 0
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628