Employing if to control sequentially 3 mcs> why doesn´t work?

**I´ve found the following code to control sequentially movie clips

if (c>=3) {
c = 0;
}
count ++;
tellTarget (“mc”+ count) {
gotoAndPlay (2);
}

there are 3 mcs (instance names : mc1 , mc2 , mc3) to be controlled on the 1st frame of
main timeline as well as the above code .

it has not worked , the mcs don´t play.
why ?
is there something wrong ?
(tellTarget has been deprecated , I think it has to be changed)
thank you

**