Help reseting _x location of attacHmovies

HI to all, fore some time I´m searching the solution for this problem and I can´t figure it out, how to reset the location of attachMovies when they are bigger than the sage width or heigth

Can someone explain this to me
the files are in