title: Flex Combobox: how to get the value of the selected item?
body: <p>I am using a combobox for the us states, <a href="http://blog.shortfusion.com/index.cfm/2009/4/15/FlexAS3-Custom-Combobox-for-US-States-with-XML" rel="nofollow noreferrer">link</a>. The label is set to the full name of the state, while the value attribute holds the abbreviation. What I want to do is to get the selected item's value. So I tried combo.selectedItem.value and combo.selectedItem.@value, but neither of them worked. Can someone shed a light on this please?</p>