Quote:
Originally posted by cuboctahedron
Thankx: that was clear to me
|
nice one.
just a tip that you can use array notation instead of eval eg:
a = 7
var7= "Hello World!"
b = eval("var" + a)
c = this["var"+a]
trace (b); // outputs "Hello World!"
trace (c); // outputs "Hello World!"
also eval() works a little differently in MX compared to Flash 5 .
hope that helps