Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > Extensions and Plugins > Components

Reply
 
Thread Tools Rate Thread Display Modes
Old 07-07-2008, 02:02 PM   #1
Paulskii
POOPER SCOOPER!!!!!!!!!!!
 
Join Date: Nov 2007
Posts: 355
Default Smart Tree Component...

I am using the flash provided tree component to display some data...it basically consists of categories, and vendors who belong in these categories...it took me some time to figure out...but I was finally able to get the parent node in the tree to close, when another was opened...but now I need to implement sub categories within the categories...some may have sub cats some may not....and this makes it difficult for me because with the current implementation, when you click a cat with sub cats it opens and displays the sub cats...but when you click the sub cat...it closes the parent cat rendering the category invisible until you open the parent cat again...is there an easy way to overcome this? Also I may even have sub sub cats...which would be inside the sub cats...ugg!

Here is an example of my XML...
Code:
<node>
    <node label="Book Vendor" data="2,3,10,5,6,7,8,9,22,35,39,40,46">
        <node label="Sub Cat1" data="2,3,10,5,6,7,8,9">
            <node label="ABC Company" data="2,3"/>
            <node label="ACT" data="10,5,6,7,8,9"/>
        </node>
        <node label="Sub Cat2" data="22,35">
            <node label="Francott Oasis" data="22"/>
            <node label="NSE" data="35"/>
        </node>
        <node label="Sub Cat3" data="39,40,46">
            <node label="Nunt Melon Seed House Inc." data="39,40"/>
            <node label="Porter and Sons" data="46"/>
        </node>
    </node>
        <node label="Fresh Food Freight" data="36,37,38,52,58">
        <node label="Nugget" data="36,37,38"/>
        <node label="Swanson" data="52"/>
        <node label="Train Liner" data="58"/>
    </node>
</node>

Last edited by Paulskii; 07-07-2008 at 02:07 PM.
Paulskii is offline   Reply With Quote
Reply


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 Off
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 - populating loader before selection mortenpink Components 2 11-17-2007 08:18 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 06:41 PM.

///
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.