# \[AS3\] Frames and Classes

**URL:** <https://forum.kirupa.com/t/as3-frames-and-classes/314443>\
**Category:** flash\
**Created:** [September 28, 2010, 7:58pm UTC](https://forum.kirupa.com/t/as3-frames-and-classes/314443 "2010-09-28T19:58:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mvrb](https://avatars.discourse-cdn.com/v4/letter/m/f14d63/32.png) [@mvrb](https://forum.kirupa.com/u/mvrb)\
**Post date:** [September 28, 2010, 7:58pm UTC](https://forum.kirupa.com/t/as3-frames-and-classes/314443/1 "2010-09-28T19:58:28Z")

</div>

Hello everyone. I have a bit of a problem here… I’m creating a Box2D game, so I’m using Document Classes, but I just added a second frame in the main timeline, but I have no idea how to stop that frame from playing? “stop();” in the frame code doesn’t work. How can I make a menu with a Play button on the first frame and on the second frame is my game? This is probably a really stupid and simple question, but I just can’t figure it out :S

Thanks in advance.
