Button action

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