Setting multiple movieclip properties via a for loop

Hi,

I have 35 movieclips, named s1, s2, s3 etc, depending on the value of currentDisplay, I would like to set a movieclip visible property to true while the others are set to false, I have tried the following:

for (i=1; i<36; i++){
    trace(i);
    if (i == currentDisplay){      // CurrentDisplay indicates which movieclip should be visible
        ["s" + i].visible = true     // Show movieclip
    } else {
        ["s" + i].visible = false    // Hide movieclip
    } 
}

but I receive an error message:

1083: Syntax error: dot is unexpected.

I assume it is referring to the dot before visible, if someone could lead me in the
right direction that would be great, thanks.