Variable problem

Hello everybody!
I’ve a little problem. I’ve declared a variable on the scene “root”, n i would [SIZE=3]trace[/SIZE] it [SIZE=3]inside a movie clip (coz i need the value inside the MC)[/SIZE]. but it shows me an error message.

trace (“btnState”+ btnState); error msg:=> 1120: Access of undefined property btnState.
trace (“btnState”+ parent.btnState);error msg:=> 1120: Access of undefined property btnState.

trace (“btnState”+ this.parent.btnState);error msg:=> 1120: Access of undefined property btnState.

below my code:

var btnState:Number=0;

this.mainmenu.Buttonmenu.visible = false;
this.mainmenu.Button.addEventListener(MouseEvent.CLICK, ButtonClick);
this.mainmenu.Buttonmenu.addEventListener(MouseEvent.ROLL_OUT, ButtonOut);

function ButtonClick(evt:MouseEvent):void {
if (mainmenu.btnState==0){
mainmenu.btnState=1;
this.mainmenu.aboutmenu.visible = true;
}else{
mainmenu.btnState=0;
this.mainmenu.aboutmenu.visible = false;
}
}

function ButtonOut(evt:MouseEvent):void {
mainmenu.btnState=0;
this.mainmenu.aboutmenu.visible = false;
}

THANK YOU!