5 Replies Latest reply on Jun 7, 2009 8:41 PM by kglad

    button array  group

    Julian Montes

      I hi, i am  working in linux flexbuilder 3 sdk 3.3  in a  aplicattion with a  virtual keyboard.

       

      i have  someone buttons  , anda i like  work  whit them in array, for simplify  the event managment.

       

      my  code

      private var bArray2:Array = new Array("b1","b2","b3","b4","b5");

      for(var i:uint = 1; i < numButtons; i++) // for loop starts at 1 since the instance names start at 1
                          {
                                 trace(bArray2[i].id);
                            }

       

      and my error

      ReferenceError: Error #1069: Property id not found on String and there is no default value.

      i look  in this  forum, but the response  of the  forum  dont works for me.

       

       

      thanks

       

      Julian