I use component with a string parameter “effecttext” and a boolean parameter dynamicinput. AS2 i used;
if (dynamicinput) {
fxtext = eval(effecttext);
}else{
fxtext = effecttext;
}
Then if a component user selected “dynamicinput” then he/she could type the name of some variable he/she somewhere defined and the script would eval() what was typed and used the value of whatever was defined in that variable.
Any suggestion on how to do that in AS3?
P