Refer maintimeline inside class

hi there,
am new to actionscript3.
how to refer the main time line or stage from inside the class.

class sample{
function sample(){
trace(root); // its displaying as null
}
}

in actionscript 2 we use _root for this… in actionscript3 if we use root…why its not working inside the class…?