I'm trying to hide movie clips from the stage using a loop, but I'm getting the following error when I publish it (this is just an example of the concept.)
var q;
for (q = 0; q <= 3; q++) {
stage["box_mc_" + q].visible = false;
}
The Error message:
ReferenceError: Error #1069: Property
box_mc_0
not found onflash.display.Stage
and there is no default value. attest_fla::MainTimeline/frame1()
Any help would be appreciated.