3 Replies Latest reply on Apr 16, 2006 11:44 PM by Hakan KIRIK

    dynamic variable naming

    shottogan
      can you create a variable and name it dynamically? like:

      for(var i:Number = 0; i<5; i++){
      var ["v"+i]:Number = i;
      }
      so you could create unique variables on the fly?