2 Replies Latest reply on Apr 1, 2011 8:06 AM by Flex harUI

    combobox throws error on trying to make a selection

    DushyantG

      Hi,

      I have a flex form in a spark panel. This form has 3 comboboxes and whenever I click on any one of these comboboxes to make a selection I get an error. And some times other error comes.

       

      Error: Error #1502: A script has executed for longer than the default timeout period of 15 seconds.
          at mx.core::UIComponent/owns()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UICompon ent.as:12037]
          at mx.managers::PopUpManagerImpl$/nonmodalMouseDownOutsideHandler()[E:\dev\4.x\frameworks\pr ojects\framework\src\mx\managers\PopUpManagerImpl.as:1284]
          at mx.managers::PopUpData/mouseDownOutsideHandler()[E:\dev\4.x\frameworks\projects\framework \src\mx\managers\PopUpData.as:135]

       

       

      Error: Error #1502: A script has executed for longer than the default timeout period of 15 seconds.
          at mx.core::UIComponent/owns()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UICompon ent.as:12037]
          at mx.controls.listClasses::ListBase/itemRendererContains()[E:\dev\4.x\frameworks\projects\f ramework\src\mx\controls\listClasses\ListBase.as:5586]
          at mx.controls.listClasses::ListBase/mouseOverHandler()[E:\dev\4.x\frameworks\projects\frame work\src\mx\controls\listClasses\ListBase.as:9958]

       

       

      One of these comboboxes is:

       

      <mx:FormItem   label  ="Plan" id="plan">
                  <mx:ComboBox  width="50%" id="planCmb" editable="false" selectedIndex="0">
                      <s:ArrayCollection>
                          <fx:String>A</fx:String>
                          <fx:String>B,C</fx:String>
                      </s:ArrayCollection>
                  </mx:ComboBox>
      </mx:FormItem>

       

      Other comboboxes also take data from an arrayCollection although they are initialized some where else in the application.

       

      Plz help.