Skip navigation
Currently Being Moderated

Refreshing data after pushView

Feb 19, 2012 12:57 AM



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.




More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points