Do you want this to be a dynamic process? What I mean by that is do you want the MC to gradually move to the upper left as your mouse moves to the lower right
OR
Do you want the MC to move to the upper left only when you are in the lower right?
I don't suggest going with the first option because moving 5 pixels over the span of a mouse drag across a screen won't really do much.
For the second situation:
Make an invisible button in the bottom right and use MCTween (or Tween Class) to move the MC. Something like this:
Code:
invisible_button.onRollOver = function() {
MC.xSlideTo(MC._x - 5, 1, "easeOutQuad")
MC.ySlideTo(MC._y - 5, 1, "easeOutQuad")
}
Bookmarks