A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: how to create alert message while closing browser

  1. #1
    Junior Member
    Join Date
    Oct 2008
    Posts
    16

    Question how to create alert message while closing browser

    Hi all, need your help.
    I have created a flash website in flash professional cs6 using action script 2.0.
    when a viewer is trying to close the website I want an alert message to be displayed. that is when one tries to close the browser an alert window should pop-up with a message.

    Is this possible in as2? can you please share the action script? thankyou in advance.
    Last edited by kranjani; 02-01-2015 at 02:41 PM.

  2. #2
    . fruitbeard's Avatar
    Join Date
    Oct 2011
    Posts
    1,780
    Hi,

    Try this perhaps, there are plenty out there to use too.
    http://www.openjs.com/scripts/events...nfirmation.php

  3. #3
    . fruitbeard's Avatar
    Join Date
    Oct 2011
    Posts
    1,780
    Hi,

    Try this perhaps, there are plenty out there to use too.
    http://www.openjs.com/scripts/events...nfirmation.php

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center