adobe-air

Air2.0, Error while accessing Native process API.

I am using native process API of Air2 in HTML/Js framework. The problem comes when i try to make object of NativeProcessStartupInfo. Here is mine code if(air.NativeProcess.isSupported){ var nativeProcessStartupInfo = new air.NativeProcessStartupInfo(); Whenever i try to execute this code i got this error. TypeError: Result of e...

How can I solve an AccessViolation error in Adobe AIR?

I have an AIR application that loads a series of html components and rotates through them, showing a component while reloading the next one, then showing the next one, etc. It works fine on every OS (Mac, Windows 7, Vista) except on XP it sporadically crashes with a c0000005 AccessViolation in ntdll.dll at either 7c91b121a or 0001b21a. T...

Adobe AIR: Controls flipped (mirrored) in certain build environments

I'm having an issue where certain controls are flipped, depending on the machine that I'm building my project on. On my development machine, when I build it, everything is okay. However, when I build it on our build server, some things are flipped. It seems to be things that are on a higher layer - for instance, options in the select con...

How to have an uninstaller along with launcher of my flex application.

Hi, When I create a native installer and run it, it installs the application with myApp.exe (launcher) in my Program Files/myApp/ folder. I would also like to have the installer put an uninstaller for my application (say uninstall_myApp.exe or something) in the same folder. Is there any way to create such an installer. Thanks.. ...

How can I share a javascript object between windows in Adobe AIR?

I'm creating my first Adobe AIR application using HTML and Javascript. I've got code that opens a new native window to let the user select some options. I want to share a javascript object between those two windows so when I change settings on the object in the new window, the original "Main" window can access the new settings. How woul...

Can Adobe AIR 2+ mimic the Mac OSX behavior for "Hide Window" when providing a custom native menu?

In my Flex 4/Adobe AIR 2 application I am using a FlexNativeMenu on my WindowedApplication to set a lot of customized menus. I would like to keep the original "Hide " menu option from the applications root menu in OSX. Without it my app breaks the expected behavior for users and ends up frustrating me. I see there is a function called...

XMLHttpRequest works in Adobe Air preview but not compiled app

I've an adobe air app that I've been building using Dreamweaver CS5 as my IDE. When I preview the application everything works perfectly. When I create the app and try and run it the first XMLHttpRequest I run fails. I'm thinking it is a security issue, but I've not clue. I get the 'invalid' password message every time because the...

Creating proxy between application queries and Internet

Is it possible (for example with C++, but it does not really matter) to create a bridge/proxy application to get the data requested by another application? To be more detailed, I'm talking about a Adobe Air based game. (I want to create a report with stats based on the data acquired, but that is not actually part of this question.) Rath...

Listen for any kind of event

Hi, I'm developping an application in which I need to set up a timeout. But I have to watch for a total inactivity. Is there anyway I could watch for any kind of event ? thanks ...

Using image while creating custom components in flex

Hi, For my AIR based application I am trying to create a custom component based on canvas which has an image (as shown below). <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="100" height="100" cornerRadius="5" borderStyle="solid" borderThickness="2" dropShadowEnabled="true" borderColor="#EDEDE8" dropShadowColor="#dddddd" sh...

Formatting text in RIA App (considering between Silverlight, AIR & Titanium)

i want to create an app where users can format text, simple formatting just like what the markdown editor here on stack overflow can do, bold, italic, lists etc. i am really tempted to use a solution like AIR or Titanium where i can use HTML/JS to implement this. however, AIR have disabled some features like shadows, @font-face, etc. f...

Access an ocx from flash or air

Is it possible to talk to a dll or ocx from an air application? We have an ocx that talks to an audience response system and collects data from the system and we would like to access that data within flash. Could anyone give any pointers as to the feasibility of this? Many thanks Dave ...

Flash builder 4 does not show export to native installer option??

Hi, i am using Flash-builder 4 and developed an application to capture screen image and save on desktop. But when i click the export button , the flex builder shows me the option to export to file only as shown below http://web.s4spk.com/irfan/exporttest/index.html I have downloaded latest air sdk and overwrite file in sdk4.0.0 , now ...

Adobe native Air app works on windows7 but not on windowsXP??

Well i have an adobe air app that captures screen and saves image on desktop. The App works fine on windows 7 but it just does not work on windowsXp.. The App use native windows exe that was built in C# using Visual Studio 2010. Its video tutorial and code is given at http://www.gotoandlearn.com/ The app just does not work on windows ...

Adobe AIR NativeProcess - UAC problems when trying to run update installers.

Hi, I'm Adam. I'm trying to use Adobe AIR 2's NativeProcess API to emulate the ApplicationUpdater but I'm encountering problems when I try to run the downloaded AppUpdater.exe file on computers with UAC (User Account Control) enabled. When run without UAC enabled, the AppUpdater opens as usual and displays the standard Adobe replace di...

Thoughts on Adobe AIR for Android?

I may be assigned an Android project, and have minimal experience with Java but a lot of experience with Flash Builder. Does anyone have an opinion on Adobe AIR for Android, which lets you "publish ActionScript projects to run as native applications for the Android OS"? I'm generally wary of cross-compilers, but don't have a desire to ...

How to reset the Flex HTML control's history

I am using the flex HTML component and I would like to clear the history of the control when it is taken off screen, so that when it comes back on again the history is reset. The only thing I can think of at the moment is to set the HTML control to a new HTML control, although this is a bit of a pain. Thanks ...

AIR installer to install 3rd party app

Say I've got a working AIR app that needs to also bundle a driver (licensing okay) for some hardware that the app uses. Anyone know if its possible to launch the driver installer at the end of the app install? I'm not finding good documentation on this and im wondering if there is a standard pre-install / post-install script I can crea...

When trying to select a column of type BLOB, SQLStatement throws a RangeError #2006: The supplied index is out of bounds.

var imageData:ByteArray = new ByteArray(); var headshotStatement:SQLStatement = new SQLStatement(); headshotStatement.sqlConnection = dbConnection; var headshotStr:String = "SELECT headshot FROM ac_images WHERE id = " + idx; headshotStatement.text = headshotStr; headshotStatement.execute(); Error references the final line in this block...

How to install an AIR app from an intranet?

Hi The Adobe AIR documents tell me (I can't find the exact page again!) that I can download the air.swf that you normally call from http://airdownload.adobe.com/air/browserapi/air.swf. I have done this and load it in my own 'badger' script. Base reference: http://livedocs.adobe.com/flex/3/html/help.html?content=distributing_apps_3.html...