How Do I add contextMenu to stage?

So in AS2 you could add a contextMenu for the whole movie like this:

var newMenu = new ContextMenu(); 
newMenu.hideBuiltInItems(); 
_root.menu = newMenu; 

There is no _root in AS3. So in my Document class I tried this:


stage.contextMenu = new ContextMenu();

Which results in this error:

Error: Error #2071: The Stage class does not implement this property or method.
at Error$/throwError()
at flash.display::Stage/set contextMenu()

I have also tried just adding items to stage.contextMenu but that didn’t work either.

I also added a custom context menu to my Document class but that doesn’t work for the whole movie.

So does anyone know if there is something I can do to set the contextMenu for the whole movie?

http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/index.html?flash/ui/ContextMenu.html&flash/ui/class-list.html

Thank you I am aware of the Adobe documentation and I read it before I posted. There is nothing in there that answers this question. I already know how to create a contextMenu and how to add one to a regular MovieClip or a Sprite. I am asking how to add one to the stage object.

Is there something in the documentation that I missed? If so could you reference it directly?