I was just wondering, I am working on a script that loads variables into flash from a single .txt file, I need away to count the number of variables that are loaded from this file and wanted to know if there is any code in actionscript for doing this.
The .txt file will be updated with new variables every now and gain, some may be removed so its important that the actionscript can accomidate these changes!
any suggestions…?

Prefix the variables with say “txt_”

then loop through all the properties of the movieclip and count all vars with “txt_”

Thanks ill give that a go