air

What is the difference between AIR and a browser?

I'm curious what "features" are in Adobe AIR that makes it unique from browsers. I've heard that it has SQLlite on board, but what else makes it any different from Chrome's application mode (get the same functionality using Firefox's Prism plugin) Is it fair to call it a browser? ...

How can I send date object from Adobe Flex to RESTful rails?

Hello, I'm working on an Adobe AIR project that use the Ruby on Rails as RESTful web service as the back end. I have found a lot of examples that show how can I send the data to operated by Rails. but I stuck at date object, which will be very useful if I can send Actionscript's date object to Rails via XML or whatever and Rails can und...

Is there a way for a JavaScript file to load another file in AIR?

I've been trying to build my own (small) framework in JavaScript for an AIR application and I've run into a peculiar problem: I can't find a way for a JavaScript file to load another. It seems the only way to load JavaScript is for an HTML file to load it. Is this correct? Is there really no way for a JavaScript file to load another? ...

UI rendering inconsistencies in Flex application.

Has anyone noticed UI rendering inconsistencies within Flex applications. I am having issues with radio buttons and text controls inside a repeater. Below is a sample... What would cause such inconsistencies? Computer performance, internet speed? The repeater below has an XML web service acting as a data provider, using Flex's e4x supp...

Problems printing from html AIR app - error and printout cropped

I'm trying to print from a html/javascript AIR app. The code I'm using is: var pjob = new window.runtime.flash.printing.PrintJob; if (pjob.start()) { var poptions = new window.runtime.flash.printing.PrintJobOptions; poptions.printAsBitmap = true; pjob.addPage(window.htmlLoader, null, poptions); pjob.send(); } I...

How to insert the image on right top corner of panel header using flex?

Anybody help me How to insert the image on right top corner of panel using flex or action script . i used -<mx:Panel x="38.5" y="28" titleIcon="@Embed('image/logo.png')" id="register" width="375" height="534" layout="absolute" title="Registration Form "> titleIcon attributs but not use . so how to insert ? ...

How to protect API Key in Flex/AIR from decompiling?

No obfuscation please and simpler the better. Similar post is http://stackoverflow.com/questions/294777/shared-secret-with-api-in-an-ajax-adobe-air-app but I was not convinced that these protect from decompiling. If they do, please explain (For example, what's stopping someone from decompiling and using the URLLoader themselves). ...

Flex :: <mx:transitions> not working Properly in my flex project ?

i used <mx:transitions> <mx:Transition fromState="*" toState=""> //universal_title name for TitleWindow id another stage .loginform is panel id another winidow <mx:Sequence targets="{[Universal_title,loginform]}"> <mx:Sequence id="sequence1" filter="show" > ...

Do you know any example about system tray application using air or flex?

I made one small application using flex . it is working correctly but i want that application icon show on system tray .how wiill i do for that ? i used if (NativeApplication.supportsSystemTrayIcon) { NativeApplication.nativeApplication.autoExit = false; icon.contentLoaderInfo.addEventListener(Event.COMPLETE, ...

auto update in flex application

I am using auto update in my flex application using the updater framework. I got this article and followed the same steps. http://blog.multimediacollege.be/2008/12/using-the-air-15-updater-framework-in-flex/# But i'm getting an error and can't understand the reason: 1046: Type was not found or was not a compile-time constant: Upd...

How can the Adobe AIR installer itself require AIR?

I downloaded the AIR_Win_installer_files.zip file in order to do a side-car AIR installation. I created a directory (AIR_bundle) and unzipped the downloaded file into that. In that directory, I end up with: Adobe AIR Installer.exe Adobe AIR/ where the latter is a sub-folder containing lots of other files. On the command-line, I exe...

How to call AIR application form AIR application???

How to call AIR application form AIR application??? ...

Help System for Flash/Flex/AIR

I'm building a desktop application in Flex/AIR, and one of the current items on my TODO list is to develop a help system. Throughout the GUI, there are little (?) buttons. When the user clicks one of those buttons, a HelpPanel appears, displaying some relevant information from the docs. Simple enough. But I'd really like to build a fu...

Do you know about NativeApplication.nativeApplication.icon,bitmaps in flex ( action script3 ) ?

NativeApplication.nativeApplication.icon.bitmaps = bitmapData(); I wrote coding in my project for sysTrayIcon display but got error like NativeApplication.nativeApplicationSeverity and Description Path Resource Implicit coercion of a value of type flash.display:BitmapData to an unrelated type Array. toy/src toy.mxml .icon.bitmap...

AIR application, set cursor position in form

I have an AIR application with a login form. What I want to do is set the cursor in the first textinput box. I only manage to set the focus on the box, but not the cursor. Does anyone have an idea for how I can do this? ...

Do you know 1024 Overriding a function error on flex (flash )in action script 3?

In my project i used this below function public function createIconMenu():NativeMenu{ var iconMenu:NativeMenu = new NativeMenu(); iconMenu.addItem(new NativeMenuItem("", true));//Separator if(NativeApplication.supportsSystemTrayIcon){ iconMenu.addItem(showCommand); showCommand.addEventListener(Event.SELECT, onShowCommand)...

how to store bitmaps into arrary in flex (action script3) ?

In my project i used image array with 16+16 32+32 48+48 128+128 different size of image for system tray icon but i put on bitmes then shows Error #2005: Parameter 0 is of the incorrect type. Should be type BitmapDat. public var imageURLs:Array = ['icon/toy.png','toy32.png','TOY48.png','joy128.png']; NativeApplication.nativeApplicatio...

flex air datagrid itemRenderer

Hi, I have a datagrid with custom itemRenderer. When I click in a cell, I get its reference. Now I would like to get the reference of the other column in the sae row. e.g. In the datagrid I have clicked in 4th column of the 3rd row, I am getting reference of it no problem in that. Now I would like to get the reference of 1st column o...

Screen Sharing in Adobe Air

I am making a whiteboard application in Adobe Air. I want to share my screen with the other user and allow him to access my desktop, similar to remote desktop. I tried googling around but found no useful information on this. Can anybody give me some useful pointer to look into it. ...

Air applications using HTML don't pick up alt and title tags

Hey, I'm building a HTML application to run in an Adobe AIR container, but the alt tag for the img element and the title tag for the a element doesn't do a tool tip like a browser would handle. Is there anyway to enable this, or display it another way? Thanks ...