
Flash Player 7 + TheSpringBox V1
Widget.close() : Void;
None.
Nothing.
Method; closes the window in which the widget resides.
Note: This function is only needed if the window needs to be closed based on some functionality in the code. The widget wrapper already contains a close button in the utility navigation that the user has access to.
In the below example, a button is used to close the widget window:
btnClose.onRelease = function() {
Widget.close();
};