6 Replies Latest reply on Sep 27, 2011 4:09 AM by rabinprithvi

    Combo box change event problem

    Raghuvasa Level 1

      Hi All,


        I am adding a combo box in actionscript dynamically. And adding change event for that.


        var combo:ComboBox  = new ComboBox();


          combo.addEventListener(Event.CHANGE , changeHandler);


          countryCmb.selectedIndex = 1;



        If i set the selected index dynamically by using above line, the change event is not firing. I mean it is not calling the changeHandler method.


        Am i doing anything wrong in this.


        Can any one help me regarding this.


      Thanks in advance