# Button action

**URL:** <https://forum.kirupa.com/t/button-action/84035>\
**Category:** Uncategorized\
**Created:** [March 24, 2005, 3:28am UTC](https://forum.kirupa.com/t/button-action/84035 "2005-03-24T03:28:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![siva\_be3](https://avatars.discourse-cdn.com/v4/letter/s/8e7dd6/32.png) [@siva\_be3](https://forum.kirupa.com/u/siva_be3)\
**Post date:** [March 24, 2005, 3:28am UTC](https://forum.kirupa.com/t/button-action/84035/1 "2005-03-24T03:28:07Z")

</div>

Hi guys,

I am new to flash, how to make a button to close the browser window

i mean if i call the flash page through my asp page it will display the blank

window like slide show so i want to make a flash button in my flash page to

close that window how to make it ,i tried that javascrip:window.close()

it works but before that it will ask me ‘r u sure u want to close the window’ i

dont want that type of warnings, How to do that, please give me a reply about

this,thanks in advance
