ok like this:
mc is the movieclip of the 2 lines
targetx is a variable that = where you want the movieclip of the lines to finish on the x scale, same for targety but y scale
frame 1
Code:
_root.mc._x = (_root.targetx._x - _root.mc._x)/3;
_root.mc._y = (_root.targety._y - _root.mc._y)/3;
frame 2
these two frames should be inside a movieclip of their own so they can just loop away while the main timeline is stopped or doing whatever you want.
I divide by 3 but you can experiment. it will affect the speed such that a lower number is faster and a higher number is slower
to set the targetx/y variables it might be easier to put the buttons inside their own movieclips. then on the buttons inside the movieclips have the following code.
Code:
on (press){
_root.targetx = this._x;
_root.targety = this._y;
}