All right, this is my first post on the forums, so I hope I can explain my situation clearly.
First off, it's a mobile game, so I have 'touch' on, but I'm testing it on my browser with my mouse.
I'm making a sort of 'pop-up' menu. As in, when you click on a sprite in a lower layer, a menu appears on a higher layer (a square sprite is created with other 'icon' sprites over it), where you can click on one of the sprites from the 'pop-up' menu (changing a variable and destroying the pop-up menu sprites - restoring the screen).
Here's the trouble.
I was hoping that placing the 'pop-up menu' sprites in higher layers would be enough so that you wouldn't be able to click on the bottom layer 'sprites'.
Apparently, I can still click on sprites from layers that, although aren't visible, are still below the pop-up menu (which I obviously don't want).
Another problem (which is even stranger) is that when the pop-up menu is not even created yet, I can already click on its sprites. <img src="smileys/smiley5.gif" border="0" align="middle" /> As in, I click on where the sprite would be created (in the pop-up menu) and it automatically selects it without even opening the pop-up menu (or possibly creating and destroying in the same click).
Thank you all for your help. I'm constantly visiting the forums when I have doubts and have always found the answer. I just haven't found anything on this yet.