1 Reply Latest reply on Jun 23, 2006 7:07 AM by kglad

    LoadVars

    Tolk Level 1
      With a loadVars object is there a method for stepping through the variables it contains. At the moment I am using a loop and referencing the variables like:
      this["textDisplay"+counter];
      Where "textDisplay"+counter is the name of the variable. The only problem with this is that if someone wants to add a new variable (say in position 2) they would have to rename all the following variables so that the numbering system (1 to no. of variables) stays the same with no repition.
      Anyone think of a work around / know a method of just looking at next variable?