Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Is the use of eval in ActionScript always OK?

actionscript eval Ok
0
Posted

Is the use of eval in ActionScript always OK?

0

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.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123