How to close browser window from a Flash file without prompt.
Note: Flash Player 8 will give a security warning. Use FSCommand method.
Note: Chrome and Firefox can close only previously opened window. They can not close the main browser window.
You can also use:
but the browser will prompt to confirm.
Creating “Close” button
- Choose “Insert” > “Symbol” command
- Choose the following symbol from “Wingding” list:
- Choose “Action” > “OnClick”
- Choose “Action” > “On Over Color”, uncheck “No Color” and select your favorite color, click OK