Exit?!

ok my character goes down the stairs he starts next the bed on the other side of the stairs and when he does go down the stairs he comes out from the stairs… as he is meant to but when i go back up he goes next to the bed again >if you didnt understand that then look @ this .swf http://i2.photobucket.com/albums/y6/Ravmaster/GoldenSunLike.swf

o i forgot the code…

onClipEvent (enterFrame) {
	if(this.hitTest(_root.hero)){
			_global.lastx=_root.hero._x
		_global.lasty=_root.hero._y+50
		_root.gotoAndStop(1);
		}
}