|
If I am understanding correctly, you can
bind the controls in the panel to the selected item in the HorizontalList (or
any list-based control) <mx:Label text=”{myHorixList.selectedItem.myProperty}” As Matt has indicated, the precise form of
the binding reference depends on exactly how you are populating the
dataProvider for the list. The above will work if the dataProvider is an array
of mx:Objects. If it is an array of xmlNodes, you will need to use the XML node
class properties (selectedItem.attributes.myAttribute, or selectedItem.childNodes[0],,
etc) You might be able to use the dataProvider API,
selectedItem.getProperty(“myProperty”) It figuring out the correct form is
difficult, use a change event handler and inspect the structure of the
selectedItem. From: People, He has a Horizontal list, and when he click any item, he need that
flex loads in a panel a estruct based in a .xml... How can he load de xml based in a comparation with the id of tipo. <tipo id=1> <hasTable> <hasScrool> <item>1</item> </hasScrool> </hasTable>... </tipo>
On 9/26/05, Matt
Chotin <[EMAIL PROTECTED]>
wrote: The "change" function on HorizontalList will tell
you when the item has been selected. The selectedItem property is the
item that was selected. Matt From: [email protected]
[mailto:[email protected]]
On Behalf Of andrehfraga hello all, YAHOO!
GROUPS LINKS
|
- Re: [flexcoders] questions about HorizontalList Felipe Tadeus
- RE: [flexcoders] questions about HorizontalList Tracy Spratt

