Actionscript :: Update Native Air Appilication?
May 19, 2010I created native air 2.0 app. (exe file) how to implement auto update for it?
View 1 RepliesI created native air 2.0 app. (exe file) how to implement auto update for it?
View 1 RepliesI am deploying Updates via SCUP and SCCM to hundreds of Computers. Fortunately Adobe provides an SCCM Update Catalog for both Adobe Flash ActiveX and Adobe Flash Plugin. But now my Problem: After publishing the Update via SCCM, the client is not supposed to be interfered with the Update Progress (which is working) I figured the Updater works like this: First SCCM checks if a Update needs to be deployed, if this is the case, The Flash Updater begins. First the old Flash Version is beeing uninstalled. But now: if the Client has a Browser Window (IE, or Firefox) open, the Updater is not able to install the new Flash Version and quits with an Error. This leaves the Client PC without any Flash (because its being uninstalled before) How can I prevent Flash being uninstalled due to the Update progress not working while a Browser window is open?
View 1 RepliesI've got a movieclip, which has got a dynamic text element.The movieclip uses a package for its codeThe package if obviously derived from the MovieClip classI've got a timer, that updates the dynamic text field every second.When debugging the code, I see that the timer works well. Its updates the value of the dynamic text field.
View 2 RepliesI'm developing a multi monitor fullscreen application with Adobe Air 2.6. I can create a window for every monitor, and put those windows to fullscreen.
theWindow.stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE;
The problem comes when interacting with those windows. If I click the window on the main monitor (the one with the dock and menu bar) no problem, but when I click any other window the system menu bar becomes visible. I've tried resizing the main window to match the monitor size and moving it to a negative coordinate but it always stays behind the bar. Is it possible to do this in Air?
I'm working on a native Objective-C iOS app and I'm wondering if it is possible to embed an animation created in Flash into my app. The animation doesn't have to be interactive, all I need is a couple of animated screens (intro screen, loading screen). Is this posible?
View 2 RepliesI'm trying to add an event listener to a window that pops up (to the whole window) that will close that window when clicked on. Basically it's your typical about window that would be found in any program by hitting help, then about this program. I am using no chrome on it so I'd like to just be able to click it and have it close.
On a less important note I'd like to center the window on the stage when it pops up. Right now I'm just using the x and w properties to get it close to center on my monitor but obviously that won't work for everyone. Below is the code I've tried. No luck whatsoever. Window pops up but stays up if I click it. Any help as always would be AMAZING!
[Code]...
How do I load an external swf into an external window? I'm using the following code, it works if i add the swf to the original window's stage but not if i add it to the new window's stage.
[Code]...
I'm on to designing my 3rd app. I have two already in the Android and Apple stores. Fairly simple ideas these were. Now, I've come across a bit of a challenge. I want to design an app that contains a database of text files, many also containing pictures. I'd like to have it where you can view these files on, lets say, the iPad, and then print them wirelessly, or send them to yourself in an email, so they can be printed elsewhere.
I have considered just creating an ebook and selling that on the store, but I don't think apple allows you to print from these books. Has to be in PDF, and having an app would be a much better way of distributing and updating it. My idea is creating something quite siimilar to how Apples 'Pages' works, just without any editing capabilities. Select document and print. Sounds simple enough but I can't find any code or tutorials to help me out with this. What I want to know is... can I add a button, that will open up and use the printing options built into iOS? Is this possible to do in Flash with AS3 or would I need to learn how to use Flash Builder and Flex? Could it possibly be done in InDesign?
It's a great thing that it's possible to compile an SWF into iOS native app. I think AIR is now the best option to write e.g. small games or interactive books. Of cause AIR app will be slowler than the same app written on e.g. objective C. The question is how slower AIR app will be. Can simple AIR apps be launched e.g.on iPhone 3G or iPAd 1?
And another question is, can arbitrary flash app be compiled into iOS native app?
I have tried the options given on Adobe Livedocs : adt -package -target native myApp.exe myApp.air, but I keep getting the message "-storetype required". I then try with adt -package -target native -storetype pkcs12 -keystore myCert.pfx myApp.exe myApp.air and get the same message. I have already created the .air file and the .p12 cert file in flexbuilder, and am just pointing to these in the command prompt in the specified places, but the same problem occurs. Any ideas?
View 1 RepliesI have made an AIR 2.0 app that uses NativeProcess so it needs to be packaged as a native installer (.exe) rather than a .air file.
I first tried using Package Assistant but I kept getting an error telling me it cannot load keystore file. so I tried using the command line
[Code]...
I want to create a native installer for windows, mac and linux machines, Instead of .air file I want to create .exe , .dmg and .deb files respectively. So that i can enable the application to be installed natively.
View 1 RepliesI am trying to make an AIR application, that needs to pass an image (.jpg/.png) to a C++ app, that does number crunching.(this needs to be done very often, like every 2-3 seconds.) I've managed to pass the image by saving it to disk via AIR, then opening this file with the C++ program (and passing the filename as an argument to the C++ program), but this method is really slow, because it involves lots of disk I/O.
Is there a method to send an image directly to a native process?
Edit: There is a good Flash-C++ communication example at [URL] using sockets. The big problem with this method is, that some firewall settings can block the communication (i get a windows firewall warning, when i start the app).
I am trying to use the IOS in-app native extension, which is found at [URL], and I have linked the SWC with my flash project... The problem I am having is that all of the usage code talks about integrating with a Flex project rather then an FLA - does anyone know if it is possible to port this extension for use with a flash project?
View 2 RepliesI'm looking into creating an ANE for the facebook ios SDK, just wanted to find out on here whether anyone has already done this / is close to releasing an ANE already ?
View 1 RepliesHas anyone found a way to get a Native Extension running for Admob yet? Or for iAd for that matter?
There seem to be a number of issues with the ANE, with compiling and with the manifest. Has anyone found a way to have it all sorted?
The structure of my ANE file looks like this:
<META-INF>
<ANE>
<Windows-x86>[code]....
If ExtensionDll.dll uses the functions in the other Dll, the extension won't load. DllMain is not called. It seems like DllUsedByExtensionDll. dll is not in the Dll search path when the air application uses the extension is running. How should I make the application find the extra Dlls, if I don't want to put them into some common Dll path?
Is there a mechanism by which native code can be called from within ActionScript?
View 4 RepliesI used the following code to create a new window using ActionScript 3 with AIR 2.6, but I am unsure of how to put anything in the window.
ActionScript Code:
import flash.display.NativeWindow;
import flash.display.NativeWindowInitOptions;
[code].....
I see a lot of tutorials out there for the flex environment but none for Adobe Flash Cs5. Not even when it is using the AIR build.How exactly does one communicate with a native process using flash or air?
View 4 RepliesI'm not so confident in OOP, and I don't know if "overload" it's the right term.I want to add a method to the MovieClip Class, for example, how can I do that?
Code:
myMovieClip.myFunction("lol");
Are native browser shortcuts(e.g. CTRL+T opens new tab) enabled/disabled be default? How can I enable/disable them?
View 2 RepliesI'm working on a big app. I need to enable back native keyboard shortcuts(e.g. CTRL+T opens new tab). e.isDefaultPrevented() called in handler returns false, but still when I press CRTL+T new tab is not opened. Is there some other way to disable keyboard shortcuts except e.preventDefault()?
View 1 RepliesI am running Flash Professional CS5 (11.0.2.489), updater reports I am up to date. The documentation seems to indicate that FP CS5 should support native custom cursors, but it doesn't (Mouse.registerCursor method is undefined).
Should this be supported in FP CS5? Can I update flash.ui to include support? Is it supported in FPCS5.5?
When I try to publish an Air app out of CS5.5 I've started to get this message:It happens with a blank document. I'm using Air 2.5 & 2.6 on SnowLeopard
View 2 RepliesIn AIR on Mac, when I send login creds to a service and they're incorrect, AIR displays a native popup window to try logging in again without dispatching an error event. Twitter provides a header (suppress_response_codes=true), which returns any error as a status 200 with the error message. I'm using HTTPService to connect to a service without a header like this. Are there any properties or headers I can send to avoid this popup?
View 3 RepliesWorks well when set to x86, but don't work when set to x64.
View 1 RepliesI'm considering using Flash as the UI of a native Windows app, for several reasons, but before I dive in and start building, I figured I'd poll the community to find out whether anyone's got any good examples of this particular approach out there today, just to prove the concept satisfactorily. So I guess that's pretty much the question: Anyone built one specifically? Or better, anyone know of an app in relatively wide distribution that demonstrates the viability of this approach?
View 4 RepliesAir allows for seamless installs (aka, "badge installs") from the browser, as well as launching an Air app from the browser. Air 2.0 has the Native Process API, which requires packing the app as an .exe/.dmg rather than a .air file. My question: does the badge install process support seamless installation of native Air installers?
View 1 RepliesI'm trying to add some menuItems to an AIR app application menu in the mac, I know that is possible to add to the standard one the application have instead of replace the whole menu, but I can't found any example on adding not replacing the whole the menu.
View 1 Replies