Assign values question

I created a auto scroller which works fine but I would like to change it so that I can reuse it without changing different values each time.
The movie consist of a scrollmc and a maskmc (just a rectangle)
So if I write,
right = 150;
150 being the _x position of maskmc
why wouldn’t it work if I change it to
right = maskmc._x;
:puzzled: