Slide in slide out onRelease

Hey all,

I am bulding a flash mp3 player that I want to be able to hide and reveal onRelease of a button.

So, when a user enters the page the music player is visible from the right of the page. On the music player there is a minimise button so the user can hide the player. On release of this button the player slides to the right stopping and leaving a tab for the user to click and slide it back in.

I have made this kind of work but in a really messy way: with a movieClip and tween, 2 frames of buttons etc…

I guess this should be possible with one button and action script that moves the movieClip _x a certain amount and then _x the same amount back using maybe an if statement? Ideally with some ease.

Anynoe no of any egs? Or tutorials for simialr functionality…
Many thanks in advance
Henry