Is the use of eval in ActionScript always OK?
Most of the time. secureSWF can figure out when eval (or set) is used and how to handle it in most cases, such as: for(i = 0; i trace(eval(“myArray” + i)); But in other cases that we’ve seen, handling eval and set were a problem for secureSWF as well as for us: vars = “abc”; … set(vars.substring(0,1), 5); … trace(a); The rule is, you can use eval and set to concatenate strings together to make up a variable name.