ActionScript 3.0 migration code for _root

Hello Friends
I am using AS2 and i have some doubts in AS3.
function zoomer(){
var x:Number = _root.xmouse; //storing some value and using that while movie onenterframe.
}

what is the code in AS3 for that.