[mx] random function for an array

hey,

this should be pretty easy

i have 16 movie clips on my stage and they all have visibility = 0;

when i reach the frame with the mcs, i want 1 to be visible. Now i know how to do that. but i only want 1 to be visible out of 6 possibilities. so the frame always has 1 out of a defined 6 mcs visible.

i thought this might work:

var getVisible = [“9”, “2”, “13”, “15”, “8”, “10”];

k = getVisible[random];

now that’s not right, so anybody know how to write the 2nd line correctly?

thanks,

kd