# Help(2 things aren't working and 1 q)! \[MX\]

**URL:** <https://forum.kirupa.com/t/help-2-things-arent-working-and-1-q-mx/28168>\
**Category:** Uncategorized\
**Created:** [August 10, 2003, 10:52pm UTC](https://forum.kirupa.com/t/help-2-things-arent-working-and-1-q-mx/28168 "2003-08-10T22:52:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SetroGamer](https://avatars.discourse-cdn.com/v4/letter/s/71c47a/32.png) [@SetroGamer](https://forum.kirupa.com/u/SetroGamer)\
**Post date:** [August 10, 2003, 10:52pm UTC](https://forum.kirupa.com/t/help-2-things-arent-working-and-1-q-mx/28168/1 "2003-08-10T22:52:05Z")

</div>

## I’m making a game and I’ve encountered some problems…I have tried putting PHP with flash, but it doesn’t work! I put the \<? ?\> things in, and then it says there is an error on the lines containing that…Plus, it doesn’t give game overs…I have this:

```
if (_root.you, hitTest(_root.mushroom)) {
	gotoAndStop("Scene 2", 1);
}

```

* * *

And it doesn’t work! Nothing happens…  
—got resetting score to work, nevermind.–  
I also have one question…How can I get it so it randomally decides if a new mushroom will pop up or something else(like, apples get you points. So maybe a different colored apple that gives you more points instead of the regular amount). Thankies if you can help. 🙂

---

<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:** [August 11, 2003, 12:38am UTC](https://forum.kirupa.com/t/help-2-things-arent-working-and-1-q-mx/28168/2 "2003-08-11T00:38:55Z")

</div>

```auto

onClipEvent(enterFrame) {
if(_root.you.hitTest(_root.mushroom)) {
gotoAndStop("Scene 2", 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:** [August 11, 2003, 7:37am UTC](https://forum.kirupa.com/t/help-2-things-arent-working-and-1-q-mx/28168/3 "2003-08-11T07:37:21Z")

</div>

Isn’t it \_root.you, hitTest?

with the comma instead of the period?
