Hello,

http://www.actionscript.org/resources/articles/638/1/Basics-of-using-the-ExternalInterface/Page1.html

http://www.actionscript.org/resources/articles/745/1/JavaScript-and-VBScript-Injection-in-ActionScript-3/Page1.html

The above links may be useful to you; yet, keep in mind that with popup
blockers being installed automatically and recommended to users in new
browsers, that what you want to do may not work 100% of the time, even
with user interaction, because calls to open and close are heavily
scrutinized.

Thanks,
Anthony

it...@aol.com wrote:
>  
> Hello, 
> How to Exit/Close the Web Browser from Flash  Applications? 
> Could anyone suggest a code to exit the flash application and  close the 
> web browser window? 
> I realize, the solution might be using ExternalInterface with  JS.  The 
> question is how? 
> The user can exit the flash application by clicking on an exit  button or 
> he/she can click on the Window “X”.    
> When clicking either on the “exit” button or on the Window “X”,  the 
> flash application will show an alert message, asking the user whether he/she  
> really want to exit.  Upon clicking  “yes” the application and web browser 
> will close. 
> Therefore, when the user clicks on the Window “X” the flash  application 
> needs to detect this click.  
> Thanks, 
> Daniel Abramovich
> **************A Good Credit Score is 700 or Above. See yours in just 2 easy 
> steps! 
> (http://pr.atwola.com/promoclk/100126575x1222846709x1201493018/aol?redir=http://www.freecreditreport.com/pm/default.aspx?sc=668072&hmpgID=115&bcd
> =JulystepsfooterNO115)
> _______________________________________________
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
>   
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to