Flash Player 6.
myListener
.onResize = function () { ... }
None.
Nothing.
Event handler; invoked when Stage.scaleMode is set to "noScale"
and the Flash movie is resized. You can use this event handler to write a function that lays out the objects on the Stage when a movie is resized.
Stage.scaleMode = "noScale" myListener = new Object(); myListener.onResize = function () { trace("Stage size is now " + Stage.width + " by " + Stage.height); } Stage.addListener(myListener); // later, call Stage.removeListener(myListener)