AIR Application stopping the MAC OS to Shutdown if event.preventDefault() is used
Hi all,
I have a issue that adobe air application is stoping the shutdown of the MAC,This issue arises only when
AIR application uses event.preventDefault();
Even I figureout the same thing when the TourDeFlex's AIR version was open on the MAC then also it is
not allowing the shutdown to be allowed.Although the MAC gives the Alert message for the same and tell us
to explicitly close the Application. So should this be treated as a bug or not?
I have already checked the below mentioned link long ago in which it is told that this is not possible to find the solution for this.
http://blogs.adobe.com/cantrell/archives/2011/07/when-air-applications-prevent-shutdown-or -restart-on-mac-os-x.html
Still if anyone here is having any solution on this then any help will be appriciated.
Also if it is not possible then also I will like that some one from Adobe AIR team to confirm me on this that this is not possible and this
is know to you people.
Thanks in advance
Shardul
Are the workarounds in the link you provided not sufficient?
Similar Messages
-
All Adobe AIR Applications stopped function today, what happened?
I'm running OS X 10.6.3, all of my Adobe AIR applications stopped functioning today.
Here is a list of all the Adobe AIR applications that I use...
http://imgur.com/CNXz5
Now here is the error that each of them have been giving me as of today...
http://imgur.com/8R2Nb
http://imgur.com/sbgPL
http://imgur.com/yFQng
I have changed absolutely nothing with any of these apps, or Adobe AIR in a very long time... I actually haven't even installed anything to my knowledge in a few weeks.
I have tried reinstalling all of these apps, reinstalling Adobe AIR... everything. I've tried everything.
Can anyone assist me in figuring out what is wrong? Thanks in advance for any help.I just put those commands through terminal and here is what I got...
Last login: Thu May 27 10:27:19 on console
ChrisLaBontysMacbook:~ macbook$ cat /Applications/Utilities/Adobe\ AIR\ Application\ Installer.app/Contents/Info.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleAllowMixedLocalizations</key>
<true/>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>Adobe AIR Application Installer</string>
<key>CFBundleGetInfoString</key>
<string>Adobe AIR 1.5.3</string>
<key>CFBundleIconFile</key>
<string>Adobe AIR</string>
<key>CFBundleIdentifier</key>
<string>com.adobe.air.ApplicationInstaller</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.5.3</string>
<key>CFBundleVersion</key>
<string>1.5.3.9130</string>
<key>LSBackgroundOnly</key>
<true/>
<key>LSMinimumSystemVersion</key>
<string>10.4.9</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2007-2009 Adobe Systems Inc.</string>
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>air</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>Adobe AIR Installer Package.icns</string>
<key>CFBundleTypeMIMETypes</key>
<array>
<string>application/vnd.adobe.air-application-installer-package+zip</string>
</array>
<key>CFBundleTypeName</key>
<string>com.adobe.air.InstallerPackage</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
</dict>
</array>
</dict>
</plist>ChrisLaBontysMacbook:~ macbook$
ChrisLaBontysMacbook:~ macbook$
ChrisLaBontysMacbook:~ macbook$
ChrisLaBontysMacbook:~ macbook$
ChrisLaBontysMacbook:~ macbook$
ChrisLaBontysMacbook:~ macbook$
ChrisLaBontysMacbook:~ macbook$ head /Applications/RedditAddictLite.app/Contents/Resources/META-INF/AIR/application.xml
<?xml version="1.0" encoding="utf-8" ?>
<application xmlns="http://ns.adobe.com/air/application/1.0">
<filename>RedditAddictLite</filename>
<description>For power redditors: Track your karma scores in real-time -- with graphs!</description>
<customUpdateUI>false</customUpdateUI>
<name>RedditAddict Lite</name>
<id>com.tritelife.redditaddictlite</id>
<version>1.0</version>
<allowBrowserInvocation>true</allowBrowserInvocation>
<initialWindow>
ChrisLaBontysMacbook:~ macbook$ -
Cannot install AIR application when the system date is set beyond 10/31/2017
I created a native time-stamped installer for an AIR application. While testing the installer with different system dates, I noticed that the installer does not work when the system date is set beyond 10/31/2017. I tested the same with a self-signed certificate as well as a Verisign certificate and found the behaviour to be consistent. Why does the installer stop working after this date?
Thanks very much for keeping this issue alive.
Let me restate the issue:
We have a AIR 2.0.4.13090 sidecar application. Installing the application for the very first time seems to work. Any uninstall or update after that runs into issues on the problematic Windows 7 64 bit machine. The installer logs all point the finger to Windows Installer having problems writing to the temp directory.
We've gone through many, many things trying to resolve this, including resetting administrative access to the temp directory and flushing the temp directory out entirely. I'm reporting this news secondhand, so it's not possible for me to directly relate the exact measures taken, step-by-step. The ONLY thing that reliably worked for running and installing updates on this AIR application was the following:
1) Create a new administrative level user.
2) Log in with that user.
3) Disable firewalls.
4) Run the updater.
5) Log back in as normal user, delete temporary user.
if the user account created in step 1 is not deleted in step 5 and is used to attempt a further update or uninstall, it will fail. This seems to tell me that AIR is able to utilize the temp folder via Windows Installer correctly only once. After that, it dirties this directory somehow and is unable to use/write to it, and subsequent uninstalls/updates fail with error 0.
Again, the failure all show msi issues writing to the temp directory. They result in an "Error 0" alert dialog in AIR. -
I have a Mac Pro using OSX 10.7.4. When using apple mail I click on the address icon to obtain email address and nothing happens. I've restarted both the application and the Mac but still won't open address book. Any ideas please.
Assuming you have these accounts set up in Mail, open preferences and under Accounts tab, edit the SMTP outgoing server list. Do you have a .mac address in the list? If so, delete it.
Are you using iCloud?
For the troubled account, select the correct SMTP server for that account in the box and check the box to use only that server with that account. -
AIR Intrinsic Classes-Tried and Proven Approach to building AIR applications in the Flash CS3 IDE
Hi everyone,
For all of you out there who would like to develop AIR
applications
from the Flash CS3 IDE but aren't sure how to get those pesky
intrinsic
classes working, I have a technique that you can work with to
create
your classes and make fully functional AIR applications.
First of all, those solutions out there that list
"intrinsic" functions
in their class definitions won't work. That keyword has been
taken out
and simply won't work. The "native" keyword also doesn't work
because
Flash will reject it. The solution is to do dynamic name
resolution at
runtime to get all the classes you need.
Here's a sample class that returns references to the "File",
"FileStream", and "FileMode" classes:
package com.adobe{
import flash.utils.*;
import flash.display.*;
public class AIR extends MovieClip {
public static function get File():Class {
try {
var classRef:*=getDefinitionByName('flash.filesystem.File');
} catch (err:ReferenceError) {
return (null);
}//catch
return (classRef);
}//get File
public static function get FileMode():Class {
try {
var
classRef:*=getDefinitionByName('flash.filesystem.FileMode');
} catch (err:ReferenceError) {
return (null);
}//catch
return (classRef);
}//get FileMode
public static function get FileStream():Class {
try {
var
classRef:*=getDefinitionByName('flash.filesystem.FileStream');
} catch (err:ReferenceError) {
return (null);
}//catch
return (classRef);
}//get FileStream
}//AIR class
}//com.adobe package
I've defined the package as com.adobe but you can call it
whatever you
like. You do, however, need to import "flash.utils.*" because
this
package contains the "getDefinitionByName" method. Here I'm
also
extending the MovieClip class so that I can use the extending
class
(shown next) as the main Document class in the Flash IDE.
Again, this is
entirely up to you. If you have another type of class that
will extend
this one, you can have this one extend Sprite, Math, or
whatever else
you need (or nothing if it's all the same to you).
Now, in the extending class, the Document class of the FLA,
here's the
class that extends and uses it:
package {
import com.adobe.AIR;
public class airtest extends AIR{
public function airtest() {
var field:TextField=new TextField();
field.autoSize='left';
this.addChild(field);
field.text="Fileobject="+File;
}//constructor
}//airtest class
}//package
Here I'm just showing that the class actually exists but not
doing much
with it.
If you run this in the Flash IDE, the text field will show
"File
object=null". This is because in the IDE, there really is no
File
object, it only exists when the SWF is running within the
Integrated
Runtime. However, when you run the SWF as an AIR application
(using the
adl.exe utility that comes with the SDK, for example), the
text field
will now show: "File object=[object File]". Using this
reference, you
can use all of the File methods directly (have a look here
for all of
them:
http://livedocs.adobe.com/labs/flex/3/langref/flash/filesystem/File.html).
For example, you can call:
var appResource:File=File.applicationResourceDirectory;
This particular method is static so you don't need an
instance. If you
do (such as when Flash tells you the property isn't static),
simply
create an instance like this:
var fileInstace:File=new File();
fileInstance.someMethod('abc'); //just an example...read the
reference
for actual function calls
Because the getter function in the AIR class returns a Class
reference,
it allows you to perform all of these actions directly as
though the
File class is part of the built in class structure (which in
the
runtime, it is!).
Using this technique, you can create references to literally
*ALL* of
the AIR classes and use them to build your AIR application.
The beauty
of this technique is its brevity. When you define the class
reference,
all of the methods and properties are automatically
associated with it
so you don't need reams of code to define each and every
item.
There's a bit more that can be done with this AIR class to
make it
friendlier and I'll be extending mine until all the AIR
classes are
available. If anyone's interested, feel free to drop me a
line or drop
by my site at
http://www.baynewmedia.com
where I'll be posting the
completed class. I may also make it into a component if
there's enough
interest. To all of you who knew all this already, I hope I
didn't waste
your time.
Happy coding,
PatrickWow, you're right. The content simply doesn't show up at all.
No
JavaScript or HTML parsing errors, apparently. But no IE7
content.
I'll definitely have to look into that. In the meantime, try
FireFox :)
I'm trying to develop a panel to output AIR applications from
within the
Flash IDE. GSkinner has one but I haven't been able to get it
to work
successfully. Mine has exported an AIR app already so that's
a step in
the right direction but JSFL is a tricky beast, especially
when trying
to integrate it using MMExecute strings.
But, if you can, create AIR applications by hand. I haven't
yet seen an
application that allows you to change every single option
like you can
when you update the application.xml file yourself. Also, it's
a great
fallback skill to have.
Let me know if you need some assistance with AIR exports.
Once you've
done it a couple of times, it becomes pretty straightforward.
Patrick
GWD wrote:
> P.S. I've clicked on your link a few times over the last
couple of days to
> check it out but all I get is a black page with a BNM
flash header and no way
> to navigate to any content. Using IE7 if that's any
help.
>
>
>
http://www.baynewmedia.com
Faster, easier, better...ActionScript development taken to
new heights.
Download the BNMAPI today. You'll wonder how you ever did
without it!
Available for ActionScript 2.0/3.0. -
Is it possible to deploy a Windows LV application to the MAC?
Does anyone know if it's possible to deploy a Windows L.V. application to the MAC? An option in application builder? A cross-compiler? Or... am I thinking too much. Does the L.V. application simply resolve it's library calls differently while on the MAC?
Solved!
Go to Solution.http://www.ni.com/mac/labview.htm
Luis A. Mata C.
Ing. Electrónico
Anaco - Venezuela -
Does anyone know why when streaming a movie from my iMac the screen on my tele goes grey but I still get audio. It only happens when using the DVD application on the mac. iPhoto streams fine.
You are prevented from Airplay mirroring certain things like DVD content as the material is usually protected so you get a checkerboard type display. I think there is a theoretical risk that the Airplay stream could be intercepted and the protected video copied, albeitin lower quality.
Apple may be being cautious or are required to do so with the DVD player app by movie studios/licensing authorities. It makes no sense to the average consumer who is just trying to send their purchased DVD to the TV via the computer and AppleTV.
Playback in something like VLC should work - not tried it myself but others have commented it doesn't have the restriction. -
I would like to run a stock analysis program called Toolkit 6 on my Macbook Pro, but it only works on the Windows platform. Is there software that allows me to run Windows applications on the Mac?
Yes it's MS Windows! You will need a license of MS Windows (preferable Windows 7) and from there you can decide on the strategy for running Windows on your iMac. You can use Boot Camp (you already have this) or you use virtualization software such as Parallels or Fusion. For your situation I'd recommend virtualization software. However for only one program I'd do some due diligence to see if there is a OS X version. You can start with the App store or simply use Google to search.
Kappy has provided a good article on running Windows on a Mac and the various options. Here is the link:
Kappy's explanation
Roger -
Could not open gmail on the mail application of the mac book pro.
Gmail has two account types, SMTP and Google IMAP.
In both cases failure in trying to log on to SMTP and Google IMAP because I have to verify that the username and password are correct.
How do I verify that? Please help. Thanks.Routing gmail through Mail.app:
imap-http://mail.google.com/support/bin/answer.py?answer=81379&topic=12814
pop-http://mail.google.com/support/bin/answer.py?answer=13275&topic=12810
More up-to-date advice here:
http://www.macworld.com/article/2033842/make-mail-and-gmail-play-nice.html#tk.nl _mwhelp
Note that you lose privacy when using Gmail (and Yahoo):
Gmail and Yahoo both scan users' emails. They do algorithmic analysis of your email messages, targeting ads that relate to the content of your messages. -
How do I stop the Mac Store app from opening whenever I start my computer?
How do I stop the Mac Store App from opening upon startup of my Mac Book Pro? It will not let anything else open and then it stalls when I try to close the window.
Deselect that option and the check mark will disappear.
-
Building AIR Applications with the NetBeans IDE
Hello Everyone,
Here's a link to screencast showing you how to Build AIR
Applications with the NetBeans IDE.
http://xwisdomhtml.com/netbeans-and-air.htmlNeat!
-
i bought the student and teacher version of CS5 extended for windows. Can I download the Mac version to my new apple computer and use the same serial number after removing phtoshop from my PC?
Can I download the Mac version to my new apple computer and use the same serial number after removing phtoshop from my PC?
Short answer: not for CS5.
Platform swaps are available but only for CS6
Order product | Platform, language swap -
Greetings, I'm having trouble with my iMouse continually disconnecting from my MacBook Pro in Mavericks. The batteries are solid. I just eliminated the bluetooth for my headphone. I have used the mac to cast on my TV. I use bluetooth. ANy ideas?
Hi clemenbw,
Welcome to the Apple Support Communities!
In your situation, I would recommend reading over the attached article to help you troubleshoot your Magic Mouse Bluetooth connectivity issues.
Troubleshooting wireless mouse and keyboard issues
Have a great day,
Joe -
installed itunes, checked in, I try to download free applications out the window: this Apple ID has not yet been used with the iTunes Store. But the mail I receive, that I'm registered, and I have an Apple ID, please help find out!
Diana,
This could be a delay while internal service records were updated. Check it out again - is it okay for now?
Maybe you are looking for
-
How do I get the iPhone Apple Store to recognize my new Apple ID email?
I changed my email and notified Apple. My mail on my iMac works fine and my email on the phone is fine. However when I go to update apps in the Apple Store app on my iPhone4 it asks for a password but has my old email address above the spot for typin
-
Kodak printer Hero 9.1 not working on Lion.
I have Kodak printer Hero 9.1 working on ethernet via BT home hub from iMac and old PC (XP Pro). It worked fine with Snow Leopard then I upgraded to Lion. Now Kodak software reports Error 200-1033 "Unable to connect to printer" always after the first
-
Using myfaces tomahawk inputFileUpload componet
I am using myfaces tomahawk inputFileUpload componet for the following requirement 1. I need to upload images to my user profile page. 2. Resize the image to fit my desired image size to be shown on the page Promblems 1. The file i upload is done fin
-
What would be convenient way to backup mass roles details from GRC ?
Hello SCN folks, For a GRC 10.1 environment where in, there are 100k plus roles maintained, what would be an ideal & convenient way to backup the roles details, periodically? Since the volume is high a direct export would result in timeout and huge o
-
Google Voice vs Skype Need to Make Decsion ASAP
I need to make a decsion on if I should use google voice for my new business or skype. The lack of ability to talk directly with a human about my questions is also frustrating. i need to order business cards and finish print materials asap so someon