air

Adobe AIR applications slow response after idle time

Hello! I spent hundreds of ours developing an Adobe AIR Application with Flex 4.0 and now I thought I should have finished, but after letting the application run for more than a few hours the UI-responsiveness begins to lack... What I do: My application uses custom chromes by setting backgroundImages with transparency to BorderContaine...

How to get a File Explorer/Navigator to work in Adobe AIR applications?

Hi, I realize this is probably a simple question but my google-fu is failing me. I would like to get a windows explorer like file browser to popup when I click a button to select images to upload to my AIR application. However I cannot find a component that handles File exploring. Does anyone know what to use? Thanks! ...

flashlog viewer

Hi all, I want to build an application using air. The application should load the flashlog file and display the contents after performing some text filtering. But when i load the application this clears my flashlog.txt though my file mode is READ. I can understand that running my air application clears the flashlog and prepares it for n...

Can somebody explain in a few sentences how these technologies relate: Flex, Flash, Air, ActionScript, SWF, FLV

I've read about each of these but I still don't understand how they all inter-operate, which are competing technologies, or even really what each of them is distinctly. Flash, Air, Flex... Are these all "containers"/JVM-like runtime environments, in which ActionScript code runs? SWF,FLV,AIR... Are these competing file formats which a F...

Is there a way to set "Keep in Dock" setting while installing AIR app in Mac?

Hi, I am mainly a windows programmer and need to ask this to Mac experts. Is there a way to set "Keep in Dock" setting while installing AIR app in Mac? So that when user does a quit from the dock menu the app remains there, unless user does a "Remove from dock" manually, instead of the default where user has to do a "Keep in Dock" m...

remote class alias in air

Hi in Flex one can easily define the remote class alias like the following: package samples.portfolio { [RemoteClass(alias="flex.samples.marketdata.Stock")] [Bindable] public class Stock { public var symbol:String; public var name:String; public var low:Number; } } But my question is how do you do it in AIR since the ...

Adobe AIR & PHP + MySQL

Hello. I am looking for a possibility to run a PHP + MySQL solution on a desktop. Can Adobe AIR accomplish that for me? Will the setup be able to access the COM port of the computer? ...

Is there any tutorial on starting Adobe AIR app from browser ?

Is there any tutorial on starting (not install but application start\wake up call with parameters) Adobe AIR app from browser (on button click within flash app using JS function or what ever is needed)? Blog articles or any other materials wanted... ...

Loading Flash / Flex Applications in another AIR Application

Hi there, i'm loading a Flex Application in my AIR App and i'm using the childSandboxBridge and parentSandboxBridge to communicate between those two. Works like a charm. But i've tried to load a Flash Application (the main Class extends Sprite, not Application) and therefore i get a SecurityError when trying to set the childSandboxBrid...

Running a desktiop application inside an AIR application

Is it possible to run a desktop application inside an Adobe AIR application and also whether it is able to detect events on screen over desktop application in AIR application. For example, Flex Builder or eclipse IDE should run inside an AIR application and whatever mouse detects or key stroke events should be noted by the AIR applicati...

How to exit an air application from an actionscript library?

I am trying the following but every once in awhile the nativeApp is not defined. var nativeApp:Object = getDefinitionByName("flash.desktop.NativeApplication"); nativeApp.nativeApplication.exit(); I am confused why sometimes getDefinitionByName("flash.desktop.NativeApplication") resolves and other times it does not. I am trying to re...

Detect NativeDragDrop to Trash or RecycleBin

I will let user remove item from List with a cool method. Drag an item in adobe air List control and then drop it to Trash(OSX) or Recycle Bin(Win). The trash accept move drag action only. So I think I must set dragMoveEnable=true. When I drag an item to Recycle Bin on Windows. It show accept effect(alpha mask) and Air remove that obje...

Large File transfer from Flex client to C++ server through UDP

Hi all,I am trying to build a UDP application(P2P) of Large file transfer in Flex. My back end is C++. How can I transfer my client's files to server without any middle server. If I use stratus services..how to connect that to C++. Please help me, if possible with source code. Thank you. ...

Air applicationUpdater: updates every run, should be once a day

I use the applicationUpdater framework with an Air application. The delay property is set (in AS code) to 1 day. However, the application checks every time it is run: the delay property seems to be ignored. Does any one know where last run time is stored, so I can check if there's a reason it can't seem to remember ;-) the app is at...

How to design desktop app ? (from web app dev)

I have only worked on web apps for my whole career. I'm starting a new desktop (Adobe AIR) app project but I found myself having difficulties with: stuck with thinking about overall UI design in the traditional page model not sure how to handle the navigation part in the UI not taking advantage of states deciding what should be implem...

How to determine if application is ran on 64 bit OS? (Adobe AIR )

How to determine if an application (e.g. Adobe AIR) is running on a 64-bit OS? What function could one use to check this? (Code sample, please.) I found one simple solution... Are there any others? ...

Adobe Air how to check if folder exists?

Adobe Air (2.0) how to check if folder exists? (like folder C:\Program Files (x86) on windows) (code example needed, please) ...

Can't export release build / compile for Adobe AIR 1.0

I opened up an old project in Flex Builder 3 which runs on Adobe AIR 1.0. I believe it was originally written in Flex Builder 2. When I try to run the Adobe Air application, nothing happens. When I try to export a release build, I get this error: If I change the main-app.xml file to use the 1.5 version of the namespace, it builds fin...

adobe flash buider (flex4): Error #2025 or Error: addChild() is not available in this class. Instead, use addElement()

Hi, I'm a complete newbie to Flex, so apologies for my dumbness. I've searched for an answer but haven't found anything that seems to be doing the trick. What I'm trying to do: port this example http://www.adobe.com/devnet/air/flex/articles/flex_air_codebase_print.html to Flash Builder 4. All seems to be fine but for one thing. When I ...

Specific mouse buttons in Flex

How to work with specific mouse buttons such as xbutton1 and xbuton2? ...