I'm adding data to a database with a PopUp window. When I click the OK button to complete everything I want to return to a listbox that I can choose items from. The data is getting saved into the database but for some reason I can't get the listbox to update when I push the view to the original view with the listbox. I have tried myList.clear but I get an error
|1119: Access of possibly undefined property clear through a reference with static type spark.components:List.||MyNewTestHomeView.mxml||/MyNewTest/src/views||line 69||Flex Problem|
I have searched but can't find a way to clear the listbox when the view loads.
I figured it out. It was a stupid mistake on my part. I was selecting from the wrong table.