air

AIR - Native Process Listeners

i'm launching a native process from my AIR app which loads a command line program as a background process and need to know when the process has successfully executed and is ready. when the program has launched normally by simply double-clicking on the file, it opens in Terminal (Mac OS X) and outputs some text stating that it is ready f...

Adobe AIR and canceling Drag and Drop operations

[[Cross posting from the Adobe AIR forums: (http://forums.adobe.com/thread/707440?tstart=0)]] Hi all, I'm developing an HTML/JavaScript based AIR 2.0.3 desktop application where I want to make use of the File Promises APIs. Here's what my code looks like: var cb = new air.Clipboard(), promises = []; for(var i = 0, l = this._urls.lengt...

AIR 2 - Data Persistence?

what is the best way to include data persistence in an AIR 2 application? is it creating your own read/write file with flash.filesystem, or is there a new way with AIR 2? ...

Adobe Air - window.nativeWindow undefined

Hi, I have an Adobe Air Application opening a Window from menu tray. The html content have a javascript code doing alert(window.nativeWindow) on load. It works fine with an embeded html static file It do not works with a JSP called file I have correctly included AIRAliases.js. Is there restriction about nativeWindow ? My goal is to...

How to create a menu for AIR app using jQuery?

Hi, I have a question: how to create a menu for AIR app in Aptana Studio (using AIR + jQuery)? In ExtJS it would be like var menus = Ext.air.SystemMenu; menus.add('File', [actions.newContact, '-', actions.quit]); But how with jQuery? Thanks! ...

AIR - Throwing An Uncaught Exception From Published Application?

in debugging my AIR app i can throw errors that are uncaught, which present themselves in a new window panel with the descriptive error string argument. in a published AIR app there is no error panel that appears. i've checked my system error log and nothing appears there either. it doesn't seem to matter what is the window chrome as ...

Finding out when Recursion involving Asynchronous operation finishes

Hi All, I have a recursive call which includes an asyn operation (file copy) .. I want to find out when the recursive call finishes (along with all asyn operations). private function copyInto(directoryToCopy:File, locationCopyingTo:File):void { var directory:Array = directoryToCopy.getDirectoryListing(); ...

Change Flash Player stage quality in AIR apps

How do I change the stage quality to improve rendering performance in Flash Player AIR? StageQuality doesn't seem to have any effect at all. Is this a known bug or am I doing something wrong? I'm using this in the Main() app class constructor: stage.quality = StageQuality.LOW; Edit: I found the answer in the Adobe Livedocs: For...

Can't load serverSocket class Networking two Air Applications

I'm trying to make a Air server send files that server located on another computer on a local network and have then saved. All docs I have found require the serverSocket class. I'm using FlashBuilder4(Air is selected as project) and when I go to import: "import flash.net.ServerSocket;" Socket is there but ServerSocket is not, am I miss...

flex AIR application controlbar for Windows & MAC

Hi, In my flex AIR application(with systemChrome=false & showFlexChrome=false) I am using ApplicationControlbar as the title bar with title text, close, max, min, button. It work fine on windows platform. But I have problem on MAC platform. My application shows close, max, min buttons on right & title text on left. But my requirement is...

Example of using GPS in AIR

I'm looking to create a game using GPS in AIR for mobile devices. I've seen packaging and camera tutorials, but nothing using GPS yet. This question has a few parts: 1. Are there any GPS on AIR resource sites? 2. Any example code showing the accessing of GPS data in AIR (AS3) 3. Are there any ready-made libraries for this? ...

Adobe Salesforce problem changing Id to Name

Hi I am having a problem converting for example the AccountId field in Contacts to the Account Name from the Account Object. I have tried the following query: select Name, Account.Name from Contact But when I look at the Console when I debug the application I see that this has been converted to select Salutation, FirstName, ...

Flex/Air : Flex, BlazeDS, Hibernate (Tomcat) and MySQL

Hello, I create a Flex application that works with a browser using a database with the MySQL server that I can create, modify and delete data from a database. The problem I encounter now is that I want to see my program with Adobe AIR (virtual machine). At the display that does not pose a problem. The problem is that air can not reach t...

AIR - Launching Native Process In Windows Not Working

i'm attempting to launch a command line executable program as a background process in Windows 7, but it's not working. my AIR application is a native installer application: myAIRApp.exe. i've bundled myApp.exe with my AIR application, so that when it launches for the first time, the application copies myApp.exe to the applicationStorag...

Unload module event handling in flex

Hi, I am developing an AIR app. In the main app I have a module loader 'mainModuleLoader'. I am creating modules as separate mxml files using the <mx:Module> tag. And I am loading such a module in mainModuleLoader dynamically using actionscript. Everything works fine. For the module which I am creating as mxml files, I would like to kno...

streaming live video b/w air appln and web appln using red5 in flex

hi everyone, http://stackoverflow.com/questions/2113080/how-do-i-record-video-to-a-local-disk-in-air, as in the above url i dont have to record the video but i just have to stream the client live webcam video( who connected in web appln developed in flex ) in air appln to air client. the video of air client published to webclient succes...

Adobe AIR/Flex file upload to a server that requires basic authentication

Adobe reference specifically points this out as a limitation. Here's the note in the file.upload functionality in adobe reference. Note: If your server requires user authentication, only SWF files running in a browser — that is, using the browser plug-in or ActiveX control — can provide a dialog box to prompt the user for a username a...

Adobe Air - use a flash swf to tunnel to a proxy?

I want to create an Air app (HTML and JS) that has the ability to use user entered proxy settings. While I know that by default Air will use the OS's proxy settings, I was wondering it if was possible to include a small swf that got it's settings from Air, and then created a "tunnel" to a proxy to pass the request on to. Are there exam...

Sqlite in Adobe Air, Data type mismatch

Hello, I've been using Adobe Air framework (with JavaScript) and a sqlite 3 database. Everything worked fined, but after a while the Db started throwing Data type mismatch: could not convert text value to numeric value errors. As best I can recall, I've done no modification to either the database schema or the JS code. The SQL command is...

AIR - Search Entire Computer For File?

how can i accomplish fast file searching in AIR for the entire computer? i simply want to supply a string, which would be a file name like MyTextFile.txt and have AIR search and return that file's path if it exists. ...