1 Reply Latest reply: Feb 19, 2012 5:46 PM by nfallon55 RSS

    Refreshing data after pushView




      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/viewsline 69Flex Problem



      I have searched but can't find a way to clear the listbox when the view loads.