Looping Trouble

I’m having touble with my loop statment. It works in ActionScript 1.0 but its missing something for AS 2.0. Any help would be greatly appreciated.

if (loopCount++ == 3) stop();
else gotoAndPlay(Scene1);

Thanks