Multi-select Flex List Control

Well, I had a requirement to use a multi-select Flex List control. I wanted to avoid the CTRL-button-down process altogether and devised a custom component.

Upon clicking the item for the first time, the item is added to an ArrayCollection and is selected as well. If you click again on the same item/record, the item is removed from the ArrayCollection and deselected immediately. 🙂

Code is attached in the file alongside >>

MultiSelectListControl.mxml

(Replace the “.mxml_.txt” extension to “.mxml” before using the file)

One Response to Multi-select Flex List Control

  1.  

    Thanks for the example, this made my day much more productive.
    🙂

leave your comment