1 Reply Latest reply on Oct 5, 2007 2:04 PM by chris.huston.t10

    problems trying to empty list of children

      Hello all,
      I'm new to Flex and I've got a list that is being populated by some XML data. I want to run multiple queries and have it keep updating the list. I've tried removing all the children of the list before running another query using the list.removeChildAt function which does seem to remove the child, but then destroys the visual representation of the list so that all queries after just show up as gray blocks of nothing in the list. I can still scroll the list but the entire thing is just one giant gray box.
      I was thinking there should be a removeAllChildren or empty type of function on the list but I couldn't find anything of that sort.
      Any help would be appreciated.