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

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. :slight_smile:


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

Isn’t it _root.you, hitTest?

with the comma instead of the period?