1 Reply Latest reply on Apr 3, 2013 8:40 AM by fsoender

    Spinnerlist with button click


      Do anyone have a sample code of how to open a spinnerlist with a button click?

        • 1. Re: Spinnerlist with button click
          fsoender Level 1

          I got it myself, here is the code:



          <s:CalloutButton x="400" y="100" label="OpenSpinnerList" close="calloutbutton_closeHandler(event)" color="#FFFFFF">





                                     <s:SpinnerListContainer x="22" y="85" width="135" height="110">

                                         <s:SpinnerList id="SpinnerList" width="270" fontWeight="bold" labelField="data" selectedIndex="1">



                                                          <fx:Object data="  "></fx:Object>

                                                          <fx:Object data="1"></fx:Object>

                                                          <fx:Object data="2"></fx:Object>

                                                          <fx:Object data="3"></fx:Object>

                                                          <fx:Object data="4"></fx:Object>

                                                          <fx:Object data="5"></fx:Object>