As3. Easy Variable on buttons

Hello! (my first post)
I was wondering if there by any chance was somebody on this forum who had the recipe for how I could make a button with variable. Like when i click it once, a movieclip goes to frame 2. and if i click the same button again. the movieclip goes back to frame 1.

:ch:

Thx!