ANSWERS: 1
-
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! http://www.communitymx.com/content/article.cfm?page=1&cid=A557D77AA27AD782 and http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/js/html/wwhelp.htm?href=Part4_ASLR2.html used for reference.
Copyright 2023, Wired Ivy, LLC