8/31/2010 2:08:56 AM
Title:
Component development
Hi all..
i want to develop a component in flex 4 which will have the functionality of the below given link
http://www.tricedesigns.com/portfolio/FlashMapper_new/RelationshipMapper.cfm
also if i click on any node i should b able to zoom into that level and show the nodes from that level..
can some1 plz give inputs for developing it...
thanks
venkatesan
Kiney
Points: 530
Posts:0
8/31/2010 3:51:46 AM
An IDEA ,
Say u have nodes like
Fruits
Apple --Red -- Green-- Yellow
Guava -- Pink --White
Banana -- Raw - Yellow
you can maintain the arrays for each, Fruits(Apple, Guava, Banana) and similarly for there children also
You can create the lines using the graphics class and link between the buttons . Initially you need to plot array fruits if user clicks banana then u need to plot array banana means Banana as root and raw and yellow as children.
8/31/2010 12:18:47 PM
Use canvas to place buttons and use line drawing methods of graphics class to draw lines between them. On click of child button create next tree and if parent is clicked then create the previous tree.