Hello
I want to use instances in an array, but get an error. How do I use instances in an array? Thanks.
Error 1010 'A term is undefined and has no properties'
//I'm trying to make two array objects disappear
var pink:Array = ["boxInstance1","boxInstance2"];
/*
THIS WORKS
boxInstance1.visible = false;
boxInstance2.visible = false;
*/
//THIS DON'T 'or with one instance in the array it works'
this[pink].visible = false;