Listening for events?

Is it possible to have something on a button to check to see
if another button has been pressed and if so then when this button
(the current button) is pressed it loads the same mc as the last?
something like this?


//first frame
stop();
function receive() {
holder.attachMovie[name]
}
this.createEmptyMovieClip("holder",12);


//first button

on(release){
holder._x=75;
holder._y=50;
holder.attachMovie("manhattan_thirdave","holder",11);
}

//second button, listening button

on(release){
recieve();
}