Hit Area Query

Hi,

Could anyone explain why when I have this code targeting a movie clip on my root timeline, it performs the gotoAndPlay function wherever the mouse is clicked, instead of when I click on the movie clip itself?

Any help would be appreciated, thanks


this.pencil.onMouseUp=function(){
 pencil.gotoAndPlay("up");
}