Hy there!

First i want to say thank you for this great site. The tutorials help mea lot to learn much more, and this very quick.

But i have one problem:

I want to try a Roulette game. My only problem is, that (also because of the Design) the bowl must stop at a special point. The php file gives the variable zahl (german for number) and so the wheel must stop at this number. I tried to make the rotation in 37 positions, and then with the sytax
Actionscript Code:
if (_root.zahl == 12) //in this case the wheel should stop on position 12 otherwise go to frame 43 (the next frame)
{
stop();
}
else
{
gotoAndPlay(43);
}

What did i made wrong?

Regards

Tobias