Arrows key move over

how do i make something go to a silde wen i move on top of them by using the arrow keys i alredy know how to do the arrow key movement like this…

[color=#333399][size=3][font=Times New Roman]onClipEvent (load) {[/font][/size][/color]

[color=#333399][size=3][/size][/color]
[size=3][font=Times New Roman][color=#333399]moveSpeed=[/color][color=red][color=navy]10[/color][/color][color=#333399];[/color][/font][/size]

[color=#333399][size=3][font=Times New Roman]}[/font][/size][/color]
[color=#333399][size=3][font=Times New Roman]onClipEvent (enterFrame) {[/font][/size][/color]

[color=#333399][/color]
[color=#333399][size=3][font=Times New Roman]if (Key.isDown(Key.RIGHT)) {[/font][/size][/color]

[color=#333399][size=3][font=Times New Roman]this._x+=moveSpeed;[/font][/size][/color]

[color=#333399][size=3][font=Times New Roman]} else if (Key.isDown(Key.LEFT)) {[/font][/size][/color]

[color=#333399][size=3][font=Times New Roman]this._x-=moveSpeed;[/font][/size][/color]

[color=#333399][size=3][font=Times New Roman]}[/font][/size][/color]

[color=#333399][/color]
[color=#333399][size=3][font=Times New Roman]if (Key.isDown(Key.DOWN)) {[/font][/size][/color]

[color=#333399][size=3][font=Times New Roman]this._y+=moveSpeed;[/font][/size][/color]

[color=#333399][size=3][font=Times New Roman]} else if (Key.isDown(Key.UP)) {[/font][/size][/color]

[color=#333399][size=3][font=Times New Roman]this._y-=moveSpeed;[/font][/size][/color]

[color=#333399][size=3][font=Times New Roman]}[/font][/size][/color]

[size=3][font=Times New Roman][color=#333399]}[/color][/font][/size]

[color=silver][/color]
[color=silver][/color]
[color=silver][font=Times New Roman][size=3][color=black]but wat i want is tat wen i move on top of another object i want to make it go to aonther slide[/color][/size][/font][/color]
[color=silver][font=Times New Roman][size=3][color=black]i tried to use the drag and drop tut but it didint help with wat i wanted so can some1 plz help!!![/color][/size][/font][/color]