S > Stage.onResize |  |

Stage.onResize

Stage, Stage.onResize, onResize

Availability

Flash Player 6.

Usage

    myListener = new Object();
    myListener.onResize = function () { ... }
    Stage.addListener(myListener);
    // later ...
    Stage.removeListener(myListener);

Parameters

None.

Returns

Nothing.

Description

Callback method; indicates that the Flash movie was resized. You can use this event to write a function that lays out the objects on the Stage when a movie is resized.