Move movieclip to certain coordinates


I have a movieclip that has a horizontal line in it… Also in this flash movie (not in that movieclip) I have an array of links that will change the value of a variable to a different y coordinate (something like ‘50’ or ‘73’) when clicked.

I would like for the movieclip with the horizontal line to move, using actionscript, to the y coordinate specified by that variable. I need it to move from its current location to that location, so no matter where it is on the site, it will move vertically to the coordinate specified by the variable.

Any help would be great (-: .

-Nick :disco: