[FMX] Textbox's counting up?

Hey all,
ok lets first start with my settings:
i have a dynamic text box with the var: counter, instance: c2
i have a MC on the screen with the code


onClipEvent(enterFrame){
_root.counter ++;
}

i want to put some coding on the frame they are on to say, when the text box counter reaches 200, gotoAndStop(2);
but i was puzzled as to how,
thanks alot,
Ben (flashy22)

if(counter=200){
gotoAndStop(2)
};

Something like that?

No sorry that didnt work,
any other ideas?

What exactly are you trying to do here?

Post your fla

Ok.
here is the .fla,
as you can see, the MC has the counting up for the dynamic text (code in earlier post) i want the movie to stop on the next frame when the counter reaches 200
the reason i am doing this is i am making a game, and if what im trying to do above is possible, then it would make this game a whole lot quicker to make!
hope someone can help,
Thanks alot,
Ben (flashy22)

ok, here you go. Keep in mind this is a very crude example. In the real world you should avoid the use of _root.