Problem

im sure i’ve done this pretty much rite, but icannot see where it isn’t working i have 4 lines and move the lines that i want a box to fill the square inside the lines.
can anyone help me plz

ok, what exactly do you want to happen?
second, what version of flash are you using?
third, well there is no third, but it sounds better than just two.

ok ok i THINK i understand now…you want the fill of the box to follow the outline of the box…right?

and here you go hopefully this is what you want.

btw getproperty and setproperty are no longer necessary.

instead of getproperty you can just do:

_root.line1._x \ his will return the _x of line1;

and instead of setproperty you can just do:
_root.line1._x = 10; this will set _x to 10;