• Instead of trying to create dynamic variable names, you can use an array instead. Arrays are a collection of variables which are much nicer to work with then many dynamic variable names. Try this: var newArray = new Array(); for(var i = 1; i <= 100; i++){ newArray[i] = "it worked"; } To later access those variables: trace(newArray[5]);// output: it worked I'm unable to test the above and make sure it works properly, but I'm pretty sure it will. Good luck! and used for reference.

Copyright 2020, Wired Ivy, LLC

Answerbag | Terms of Service | Privacy Policy