1 Reply Latest reply on Apr 23, 2006 7:52 AM by kglad

    Bringing dynamically created controls into scope

    Level 7
      Normally I can bring controls into scope in a function with the line

      var myControl = myControl;

      where myControl is the name of the control.

      If I dynamically create controls (called say cbx1, cbx7 etc. where the
      numbers are all different, but not necessarily contiguous) and save
      their names in myArray, then myArray[0] will contain the name of one of
      my new controls.

      How can I bring this control into scope in my function?

      And is there a way to create, read and change variable variables in
      ActionScript?

      Doug