5 Replies Latest reply on Nov 20, 2006 10:15 AM by MichRX7

    Setting dynamic variable properties

    MichRX7 Level 1
      If I create the textareas dynamically how do I loop through them later on to set their properties?

      so basically I have some textareas with ids of

      and I have a loop of
      for (var x:int=0; x<4; x++)
      // insert AS3 code here

      inside the loop I need to be able to say something like:
      myText_x.height = 50;
      myText_x.text = "Hello " + x.toString();