Problem with button

I have a mc on the main timline. Inside the MC I have some actions

when I do trace(this.parent)

I get [object_maintimeline]

However when I try

this.parent.gotoAndStop(10);

I get an error.

1061: Call to a possibly undefined method gotoAndStop through a reference with static type flash.display:DisplayObjectContainer.

Any help would be appreciated.

Object(parent).gotoAndStop(10);