0 Replies Latest reply on Jul 28, 2009 5:31 AM by nickmiddleweek

    Exercise 6.pdf > page 9 > theList.dataProvider = selectedOptions

    nickmiddleweek

      Hello,

       

      I've got a query regarding Exercise 6 of the Flex in a week video's and I can't figure out why they are assigning the selectedOptions to the theList.dataProvider in the addToList event function...

       

      I've attached the PDF for quick reference and the code is at the bottom of page 9... I can't work out why I can't assign the selectedOptions ArrayCollection as the dataProvider in MXML as a tag attribute. Why does it need to be assigned each time selectedOptions is updated and through the EVENT?...

       

      I'm sure it's a simple answer but it's stumping me...

       

       

      Thanks,

      Nick