Use e4x expressions to get he data provider for the combo: 

var xl:XMLList = xml.Node;

 

 

In the combo change handler, the combo.selectedItem will be the xml node
corresponding to the item you select.  Use that to set up you visualization

 

I am not following the logic of you second question.

 

Tracy Spratt,

Lariat Services, development services available

  _____  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of cholid cholid
Sent: Monday, August 10, 2009 2:43 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] comboBox and TextInput

 

  


Hi all, i'got problem again,
i'm quite confused in compete it
i have one week and many book

i've data ;
<Graph>
<Node id="1" name="A"  nodeIcon="/image/image.gif" />
<Node id="2" name="B"  nodeIcon="/image/image.gif" />
<Node id="3" name="C"  nodeIcon="/image/image.gif" />   
<Node id="4" name="D"  nodeIcon="/image/image.gif" />
<Edge fromID="1" toID="3"/>
<Edge fromID="2" toID="4"/>
</Graph>

1st Question=
i want to in my project with RaVis i can select option in ComboBox and the
result is the visualization of the option that i select. i.e if i select "A"
so the visualization in canvas is just show node 1 and two with edge.

2nd Question=
and if i type in TextInput "D", the visualization show in canvas node 3 and
4 with glow in node D

can anyone complete it?
i hope it will be resolved in here
Thanks
cholid.r

 



Reply via email to