Problem with function

please help, how can i make this work?
you press on the tipka_mc and you declare clip variable with new value, then use it with onRelease, what’s wrong???

tipka_mc.onPress = function(){
trace(“press”);
clip = tipka_mc;
}

clip.onRelease = function(){
trace(“release”);
}

muchos gracias!

tipka_mc.onPress = function() {
 trace("press");
 this.onRelease = function() {
  trace("release");
 };
};