I found this code to turn strings into a movieClipInstanceName.
// CREATE THE STRING
var newString:String = "movieClipInstanceName";
//CHANGE THE ALPHA OF THE MOVIECLIP TO 0
this[newString].alpha = 0;
However, when using this code for a movieclip within a known movieclip…
mc1.this[newString].alpha = 0;
…or…
this["mc1"].this[newString].alpha = 0;
…I get this error…
1084: Syntax error: expecting identifier before this.
This…
this["mc1." + newString].alpha = 0;
…throws this error…
Error #1010: A term is undefined and has no properties.
Is there a workaround that I am missing?
Thanks.