Swishmax Tree Component – Alpha [Swishmax component]

May 3 2009

Hi Swishmax users.
Since Swishmax2 has so many UI components – some are the great usual ui we need and some are special as the 3d carousel, shape tween and so on – I havn’t seen any treeview component yet for swishmax. So, I began developing one – mostly based on the logics of flash treeview component (took flash 8 tree component as a reference to learn the object).
The TreeView is based on an xml document. According to the definition of Flash 8 Reference – “The Tree component allows a user to view hierarchical data”. This data comes from an external xml file.



As for now, this current version of the Tree component for swishmax 2 is in alpha state – meaning – I havn’t finished developing it yet and it does not work 100%. Currently, i’ve been able to create a 3-level tree component – and due to a lack of time – I havn’t expanded it to an n-th level (higher level/depth). This requires some code modification and less code developing.
I believe you’ll be able to spot the bugs the tree still has.
For now, you can see an example of the this component:
This is a link to the xml file this example uses:
projects

This movie requires Flash Player 8

If you like this component and think I should develop it to the end – please leave a comment or contact.

DOWNLOAD an example of the Tree Menu Component for Swishmax 2 to play around with:

You can change the xml file to whatever you like to.


Tree Component (Tree Menu) version 0.1
Become a BETA TESTER for this component – drop me a line in the contact page with your details