Hi guys!

I have a movieclip with two masks, Lmasking and Rmasking. They are as wide as the clip itself and have reference points on the left and right respectively (so that changing width of Lmasking reduces it's width to the left, and visa versa). They are both on the same mask layer, and Rmasking is on top of Lmasking.

The problem I am having is with this code:

Code:
if (_root._xmouse<this._x) {
			looking = -1;
			Lmasking._xscale = 0;
			Rmasking._xscale = 100;
			this._xscale = 100;
		} else {
			looking = 1;
			Lmasking._xscale = 100;
			Rmasking._xscale = 0;
			this._xscale = -100;
		}
Here, when the users mouse is on the right, Lmasking is at 100% width, and Rmasking is at 0% width. This works correctly.

However, when the user looks toward the left, nothing appears on the screen that is covered by the masks. I just can't figure out why this - according to that code surely Rmasking should be at 100% width and therefore covering the whole movie clip, but it's just blank. Is it something to do with Rmasking being on top?

Thanks in advance,
j