| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
Join Date: Mar 2008
Posts: 15
|
hi!
i was wondering if there is any possibility to prevent closing the air app if the user click on command+w in his keyboard (Mac). Regards, Adil |
|
|
|
|
|
#2 |
|
Registered User
Join Date: Mar 2008
Posts: 15
|
Hi All,
I have the solution, and it works now for mac(cmd+W or cmd+Q) and win(alt+F4). ActionScript Code:
Best Regards, Adil |
|
|
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: Apr 2008
Posts: 5
|
The only bit of relevence is:...
addEventListener( Event.CLOSING, onClosing ); private function onClosing( event: Event ): void { event.preventDefault(); } |
|
|
|
|
|
#4 |
|
Registered User
Join Date: Mar 2008
Posts: 15
|
Hi, yes is true,
But this small app colse the tabs of the TabNavigator in thesame way as firefox does... Regards, Adil |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| AIR app question. | Antonios | AIR (Apollo) | 1 | 04-03-2008 10:25 AM |
| Trouble with HelloWorld air app... | Assertnfailure | AIR (Apollo) | 0 | 03-08-2008 02:27 AM |
| Close and drag for AIR app | djones | AIR (Apollo) | 8 | 02-28-2008 05:38 PM |
| Maximize and minimize Air app | lg101 | AIR (Apollo) | 1 | 02-18-2008 01:39 PM |
| Prevent Menu Closing on Click (Override default behaviour?) | mskibbz | Components | 1 | 10-04-2005 05:04 AM |