Resizing the stage

Alright so I want to resize my stage to fit however large the browser window is. I found a couple threads that lead me to the Stage class, and the actionscipt dictionary gives this example:

myListener = new Object();
myListener.onResize = function () { ... }
Stage.scaleMode = "noScale"
Stage.addListener(myListener);

I don’t know where to go from here, I dont know what function to write to accomplish what I want… any ideas?