1 Reply Latest reply on Mar 10, 2008 11:28 PM by YukonRob

    Flex 3 - accessing label object names dynamically

    YukonRob
      In Flex3 this is not working, I assume because I don't know the equivalent for the _root

      for (var i:Number = 0; i<VehicleData.length; i++) {
      cvsDispatch["lblV"+i].text = VehicleData.getItemAt(i).VName;
      }

      I am trying to access labels named lblV0 etc which are on a canvas cvsDispatch in the application.
      Cheers,
      Rob