2 Replies Latest reply on Mar 29, 2013 11:17 AM by DeanLoganBH

    re-order mx list items

    FlexScripter1453

      I'm having issues with re-ordering items inside an mx:list. 

       

      <mx:List

                          id="layersList"

                          dragEnabled="true"

                          dropEnabled="true"

                          dragMoveEnabled="true"

                          includeInLayout="true"

                          visible="false"

                          initialize="application.setUpLayers()"

                          dataProvider='{layerData}'

                          data='{layerData}'

                          selectedIndex="{application.getLayerListIndex()}"

                          render='{layersList.selectedIndex=application.getLayerListIndex()}'

                          itemRenderer="renderers.LayerRenderer"

                          width="100%"

                          height="100%"

                          bottom="50"

                          alternatingItemColors="[#e2e2e2, #dedede]"

                          selectionColor="#f7f7f7"

                          rollOverColor="#5A5A5A"

                          borderVisible="false"

                          />

       

      When I "drop" one of the items that I drag nothing happens.  Am I missing somthing?