A mouse mapping question

Hello all, I have a question relating to mouse mapping. I recently visited www.prefer.com.tw/ I have been trying to figure out how they calculated the movement of the movieclip in relation to mouse position. I have looked through tons of tutorials and I haven’t found any that is close to what I want to do. Do you guys have any advice? Thanks in advance!