Hello,
I want to produce a variable dynamically and store a value in it.
I'm using:
eval("_root."+main+"_sub1") = sub1 - 1;
But it is producing an error:
Left side of assignment operator must be variable or property.
Any ideas?
Thanks in advance