I'm a flex newbie...I'm simply trying to read the
selectedItem from a List component, using a click event to call a
function that then employs the selectedIndex in a switch
conditional to dynamically update the chart. The confusing part is
that it will generate list index items 0 and 1, but upon trying to
click a list item with an index of 2 or higher I get thrown the
TypeError: Error #2007: Parameter child must be non-null.
I'm tracing the selectedIndex and selectedItem and both seem
to be getting the appropriate values?
I've posted the portion of bad code that I'm grappling with
and any help here would greatly be appreciated...thanks!