Working with the windowUse this commands to control the application window.
Synonym for fullscreen. This commands changes the text on the title bar of the window. The argument must contain the new title text. The following script changes the title for “My Application”: fscommand(“window.title”, “My Application”); This command maximizes/restores the window. The contents will be also scaled to fit the new window size, provided that allowscale is set to true. Link the following ActionScript with a button in order to maximize the window with a click on it: on (release) { fscommand("window.maximized", "true"); } This command minimizes/restores the window. Link the following ActionScript with a button in order to minimize the window with a click on it: on (release) { fscommand("window.minimize", "true"); } |
All rights reserved © 2007 SWFMaestro.com