Is it possible to create variable variables in AS? For example…
for (i=0; i<5; i++){
var “variable”+i = i*10
}
That code totally doesn’t work but if it did you’d end up with five variables like this:
variable0 = 0
variable1 = 10
variable2 = 20
variable3 = 30
variable4 = 40
Anyone got any ideas? Thanks.