Actionscript to get dimensions of project?

I’m trying to get the dimensions of the project ( x max, y max) to handle boundries. I’m just getting into this, so i need some help helping myself. I was trying to look at the data members of _root. but didn’t find anything fitting the mold. Am I just missing the object here… Else than running to a board, where would a good place to have found this have been?