_xmouse movement from left and right

Hi ,
I am a having a MovieClip on the stage , instance name “photo”
width 1500 px
height 100px;

and main scene width & height 400px;

Now when i take mouse on the left side of the main scene, the “photo” MovieClip should move on the right side and when i take my mouse on the right side of the scene the “photo” MovieClip should move on the left side. Maintaing the exact ration from left and right side.

How can i code this please help.