air

Transform my Flex application into Adobe Air. Running a PHP in Air

Hi, I'm a newbby in Adobe AIR/Flex. I have developed a simple Flex web app. that through 2 Php's, can connect to a DB and return an XML result of the query. I uploaded the PHP and Flex files to my internet server, and the app. works fine. My question is: How can I make the same app. work in Adobe AIR? In other words, I have made a new...

Adobe AIR 2 Native API/Code

will using Adobe AIR 2 Native API/Code make the app platform specific? if so what might be the use of using AIR in such a case, so that i can have a front end using existing web technologies? ...

Is there a way to add detailed remote crash reporting to a Flex Air application?

I will be releasing my Air/Flex application soon, but I am pretty sure there are a couple of bugs that may pop up on the various platforms that Air is available for. So I was wondering if there is a way to implement a mechanism, that would send an error report, logging where the error happened, to a remote server each time an app crashes...

Set a breakpoint at a given line number in Adobe's FDB?

I'm learning the Flex command-line debugger, and I haven't been able to find information on this particular use case. I'd like to add a breakpoint to a specific line in one of my class files. I can add breakpoints at the start of a function in a class, but I can't figure out how to set it at a specific line (e.g. line 117 in Foo.as)? ...

Generating A Consistent ID For A Given Computer In Flex/Air

In C++ I Can Read The MAC Address Of The NIC and Use It To Generate A Unique Identifier For Each Computer That Interacts With My Web Service. Even If The User Deletes Their Cookies, And Temporary Internet Files, Reformats Their HardDrive And Installs A Different Version Of Windows, That Computer Still Generates The Same Unique ID. How ...

Publish a Flex project, which is better option SWF or AIR?

Hello, if i made a project with flex, and i want to distribute it, what it´s the better choice? i mean, it is not internet app, just desktop demo, what about the computer where application should be executed, there is any way to pack the application togheter with the flash/AIR player, in order that everything needed will be just in the ...

AIR application and fast search engine

Hi all, I'm working on a AIR desktop client which will basically be used to search for pictures. For now, the search will only be performed on the picture filename, but I'd like to add a tagging system. I would like the search to be very fast, but I'm not sure SQLite is responsive and fast enought. Do you have any alternatives to sto...

Flex AIR SwfLoader CPU Usage > 50% problem

I have an AIR application, I use SwfLoader to load another swf file to display in this app. The problem is the CPU Usage always takes over 50%, but it only takes 15% when the swf file runs in standalone mode. Does anyone meet this issue? Please give me some advices. Thanks a lot ...

Recommendation for Rich Client Platform for CRUD application

I will develop a desktop application for asset tracking. I am considering Eclipse RCP and Netbeans Platform. I have only Swing experience but SWT will not be a problem for me. One more option is developing with flex on Adobe Air. I know flex but no air experience (they are much similar) Speed which one is faster to develop as a RAD Le...

How can I show an confirmation message in Actionscript 3 ?

How can I show an confirmation message in Actionscript 3 ? I use Adobe Flex 3 and as3 for Air application ...

Loading an external SWF App in a new Air window with resize functionality

Hello everyone, i'm trying to load a local SWF Application in my Air Application via the SWFLoader class. The SWFLoader class is displayed in a new Window. Therefore, i'm trying to resize the window automatically, when the Flash Application is resizing. But here's the problem. The SWFLoader does not get any events when the loader App ha...

Flex 3.5 and Air 2.0 beta 2: Opening a *.cmd file

Hi: Using Adobe Air 2.0 beta 2 I want to open a cmd file when the user clicks on a button, but I get "Error #3001: File or directory access denied". the code: <mx:Button width="200" height="50" click="OpenFileHandler()"/> <mx:Script> private function OpenFileHandler():void { var file:File = new File("C:\\OpenIE.cmd"); file.ope...

How do I make an AIR NativeWindow always in front of just the app, but not in front of other windows?

I want the window to be always in front of all of the app windows, but when the app is deactivated I don't want the window to be in front of the other apps. ...

AIR-FLEX: Keyboard events only sometimes working?

I am adding a key listener to my AIR application like so: <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" keyDown="onKeyDown(event)"> Yet only sometimes when I press keys does it actually invoke. I have no clue why, I thought maybe something else has focus. Well I cannot add key listeners to NativeWindow or...

Adobe AIR: touch screen doesn't trigger mouse down event correctly

i have designed a gaming kiosk app in as3 i am using it on a Sony vaio l pc (like hp's touchsmarts) in windows 7 the app doesn't need any multi-touch gestures (only single touch clicks and drags) so i am using mouse events everything is fine (including mouse click and move events) except that a single touch to the screen (with no move) ...

AIR SQLite IN expression not working

Hi, I'm having a problem with an expression in my sql statement in SQLite for Adobe AIR basically I have this sql = "UPDATE uniforms SET status=@status WHERE customerId IN(19,20)"; updateStmt.parameters["@status"] = args[1]; updateStmt.execute(); if I run the above code it works, updating the status when the id are 19 and 20 but if...

Trying to learn Flex function, vars and data flow.

So I need to return the location or fname or what ever.... I would like to do this just by changing the pointer variable. I'm just comming from php to flex so I don't know what I'm doing -=) How can I do this? public var myProfile:Object={ fname:"Deyon", lname:"Smith", age:"31", loc:"New York"}; ...

Can an AIR app be programmed to handle a URL protocol?

I'm writing what is essentially a browser in Adobe AIR (ActionScript, not AJAX). A great bit of functionality to implement would be protocol handling. iTunes, for instance, handles itms protocols; when your friend sends you a link beginning with "itms://", it's going to launch iTunes as long as it's installed. Is there a way to write an ...

Twitter oauth/request_token failing sometimes

Hello there. I'm implementing Twitters OAuth for Adobe AIR in Javascript. My problem is, that out of 100 requests to api.twitter.com/oauth/request_token about 30 fail with the usual error message: Failed to validate oauth signature and token The other 70% of requests produce a correct response, so I believe that my algorithm for signin...

How can I have an mx:Window automatically resize to its content?

I'm creating windows in a Flex application (AIR) using the mx:Window component. I'd like the window to be automatically sized to its content (because it will be dynamic), in the same way that an mx:Panel or mx:Box would be. I've customized components before, so I'm somewhat familiar with the UIComponent lifecycle, but I'm not quite sure...