7 Replies Latest reply on Feb 9, 2011 4:38 PM by Neat Gadget

    getItemAt for Combobox using variation of syntax

    Neat Gadget

      I have looked at the documentation


      http://www.adobe.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dic tionary219.html


      But I have a slightly different syntax I need to use.




      where form is a movieclip and i refers to the combobox element in the movieclip


      I am using a loop to go through each element in the movieclip


      for (var i in form) {



      This works fine.


      But trying to use the following to get the selected data and label from a combobox does not work








      Can anyone tell me where I am going wrong?