# Menu dilema

**URL:** <https://forum.kirupa.com/t/menu-dilema/13441>\
**Category:** Uncategorized\
**Created:** [February 13, 2003, 7:57am UTC](https://forum.kirupa.com/t/menu-dilema/13441 "2003-02-13T07:57:46Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![korrupt](https://avatars.discourse-cdn.com/v4/letter/k/e56c9b/32.png) [@korrupt](https://forum.kirupa.com/u/korrupt)\
**Post date:** [February 13, 2003, 7:57am UTC](https://forum.kirupa.com/t/menu-dilema/13441/1 "2003-02-13T07:57:46Z")

</div>

Okay, since I’ve finished version 1 and 2 of Stick Shooter, (featured on [www.stickslaughter.com](http://www.stickslaughter.com)) I’m currently creating a Stick Shooter 2 with a target practice area, and a mission type area. But I’ve run into problems…

Okay, I’ve created a menu (in scene 1, called “menu”) and in scene 2, a scene called “practice”. On the menu I have 2 buttons, New Game, and Practice. The practice button, (the only one that works for now, since I haven’t made the missions yet) has the AS:

```auto

on (release) {
	gotoAndPlay("practice", "1")
}

```

So on release, it goes to and plays scene practice, frame 1. But when you click that, it flickers to the practice scene, and then back to the menu. I tried putting a stop action on frame 1 of the practice scene, but it messes up the componets of the game…

Anything help and/or suggestions would be greatly appreciated…

Thanks in advance,  
KoRRupt

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 13, 2003, 8:04am UTC](https://forum.kirupa.com/t/menu-dilema/13441/2 "2003-02-13T08:04:13Z")

</div>

have you tried this if you just want it to go to that scene and stop?

```php
on (release) {
	gotoAndStop ("practice", "1")
}

```

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 13, 2003, 3:19pm UTC](https://forum.kirupa.com/t/menu-dilema/13441/3 "2003-02-13T15:19:14Z")

</div>

Argh, no, I already tried that…

Here, lemme show you…

[http://www.stickslaughter.com/stickshooterbeta.html](http://www.stickslaughter.com/stickshooterbeta.html)

Now, shoot until your out of bullets… the press spacebar to reload. Now you won’t be able to shoot, and if you press spacebar again it will shoot…

Lostinbeta? Have any ideas man…  
-KoRRupt

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 13, 2003, 3:41pm UTC](https://forum.kirupa.com/t/menu-dilema/13441/4 "2003-02-13T15:41:20Z")

</div>

like

```auto

on (release) {
    _root.gotoAndStop ("practice", "1")
}

```

Cheers :bounce:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 13, 2003, 5:16pm UTC](https://forum.kirupa.com/t/menu-dilema/13441/5 "2003-02-13T17:16:08Z")

</div>

from what I could see, you can still knock down the target with the click of the mouse, you just dont hear the sound until you press the spacebar. Is that what you’re getting?

I always ask for FLA’s in these cases. It is simply much easier to determine where the problem may be.

Good luck.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 13, 2003, 11:44pm UTC](https://forum.kirupa.com/t/menu-dilema/13441/6 "2003-02-13T23:44:07Z")

</div>

Thanks toya, head over to [http://www.stickslaughter.com/games/stickshooterbeta.fla](http://www.stickslaughter.com/games/stickshooterbeta.fla) ,if you want to help me out, 😉

Thanks man,  
KoRRupt

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 14, 2003, 5:14am UTC](https://forum.kirupa.com/t/menu-dilema/13441/7 "2003-02-14T05:14:01Z")

</div>

You have nay ideas lostinbeta?

KoRRupt

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 14, 2003, 5:19am UTC](https://forum.kirupa.com/t/menu-dilema/13441/8 "2003-02-14T05:19:03Z")

</div>

Hmm weird…

I figured it out… 8]

Somehow, it screws up the scripts of the shooting, and bullets if you have them in seperate scenes. I put them in the same scene, and it works fine.

Thanks,  
KoRRupt

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 14, 2003, 1:36pm UTC](https://forum.kirupa.com/t/menu-dilema/13441/9 "2003-02-14T13:36:15Z")

</div>

like i´ve said, add this code to the button:

```auto

on (release) {
    _root.gotoAndStop ("practice", "1")
}

```

And, place a frame with a stop action and a frame label called **practice** in the practice scene. and it will work 😉

Cheers :pope:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 14, 2003, 3:38pm UTC](https://forum.kirupa.com/t/menu-dilema/13441/10 "2003-02-14T15:38:24Z")

</div>

Thanks!

KoRRupt

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 14, 2003, 4:04pm UTC](https://forum.kirupa.com/t/menu-dilema/13441/11 "2003-02-14T16:04:02Z")

</div>

np dude. 🙂
