air

Returning the value of a new CheckBox in Flex Air

I am trying to save settings to an XML File and setting the relevant data if the check box is checked or not. private static function createXMLData():void { prefsXML = <preferences/>; prefsXML.application.@windowsstart = Application.application.SettingsPage.settingWindowsStart.selected; prefsXML.application.@mintosystray = ...

Close with Custom Chrome

I'm using Adobe Air with a custom chrome and want to have a close button to close the window I'm just starting out so I have no idea. I'm using HTML and javascript with Aptana Studio. ...

In Flex, is it posible to identify if the code is runing on Web or AIR?

Im doing an app that runs both in the web and on AIR, to avoid copying code arround, I figured I should do 3 kinds of proyects on flex builder: Library, Web and AIR proyects. So all my code is on the Library proyect. I have accessData.as that extends EventDispatcher to fetch web services and return them as an event, I plan on using thi...

Flex install badge inside a Flex Application?

I have created a flex SWF file for my web page. I also have a AIR application. Is it possible to use the install badge that is available for HTML pages inside my Flex web application? Or any alternative ideas / suggestions? Thanks. ...

Text Input restrict in Flex3 Air

Hi, I need to restrict the user and allow only first character as + or - or 0-9 and other character as 0-9..how can i do this in regular expression validator the below expression works but i need in restrict field. <mx:TextInput id="txtTop" restrict="[0-9+-][0-9]*$" /> Valid values are +023 -123 23 0 invalid +-123 fsaf -+2...

C# screenshot program cannot "see" Adobe AIR programs

Hello, I've written a program in C# to take screenshots of rectangular areas on my screen. however i don't seem to be able to capture the information from Adobe AIR applications. Instead, the applications beneath are what i end up with. the meat of the action revolves around System.Drawing.Graphics.CopyFromScreen - passing in what am...

xmlHttpRequest and returned url

With help of xmlHttpRequest I make a server query. After that the server is redirecting to another page (e.g. "http://site.com/index.html;var=123") The question is - how can I get full url(side.com/index.html;var...)? The code is executed with Adobe Air. thanks ...

Can we achieve SSO with AIR application

Hi, I see you had a similar requirement to achieve single sign on with AIR application. Did you achieve SSO with AIR? I am using spring security with CAS and the Adobe technolgies are AIR/FLEX BlazeDS. Thanks in advance. Vandana ...

Detecting alt keyDown keyboard event in Flex

I am trying to detect the key down event for the alt key in flex. I have a standard event listener for KeyboardEvent.KEY_DOWN and KeyboardEvent.KEY_UP but don't get any response for the alt key (or ctrl key). I know I can detect if the alt key was pressed via a mouse event, but I want to update the cursor when the alt key is pressed to ...

Using ExternalInterface.addCallback in AIR

We're building an Ajax AIR app but want to include a Flex component in it to display photos. Currently using Doug McCune's 'coverflow' but also looking at Sebastiaan Holtrop's 'sebCoverflow'. We're trying to communicate between JS and the Flex component but can only do this one-way (AS->JS) using ExternalInterface.call(). ExternalInte...

Is there a stand-alone database for Adobe AIR that supports large amounts of data?

I have considered SQLite, but from what I've read, it is very unstable at sizes bigger than 2 GB. I need a database that in theory can grow up to 10 GB. It would be best if it was stand-alone since it is easier to implement for non-techie users, instead of having the extra step of installing something like MySQL which most likely will r...

Ajax Adobe AIR and Facebook Connect

Hi guys, Is anyone aware of any Facebook Connect implementation for Adobe AIR Ajax. I know there is an Action Script (written by facebook guys) but it seems that Facebook has forgotten about AJAX version for Adobe AIR. Since Adobe AIR can't make calls via xd_receiver.htm would be quite usefull to have version written for Adobe AIR AJAX...

Adobe AIR canvas dimensions messed up

I'm messing about with Canvas in Adobe Air. But their seems to be some issue with the mouse coordinates. The more I click towards the right, the difference between the draw position and actual click increases. My code is Wb.canvas.fillRect(evt.clientX-canvasTag.clientX, evt.clientY-canvasTag.clientY, 50, 50); ...

Communicating between Adobe Air or browser and Java Web Start

We're designing an application and the client has requested that a portion of their app stay in Java Web Start and another portion be in a browser. I'm thinking about AIR as an alternative to the browser because that may give us more features b/c we don't have to stay in the browser security sandbox. How would I go about having an Air ...

Air / Flex / Zend Amf - How to move from localhost to web server enviroment?

Hi Everybody, I'm new to flex and Air development and have been stuck on a problem for weeks ;). Are there any Air + Zend Amf examples that use a real world web server and not localhost? Basically I cannot get an Air or Flex application connected to a remote mysql db to work once deployed. How can I successfully move a finished applic...

Reason for slow Adobe AIR app performance?

I am trying to debug a strange problem with Windows XP (SP3) Adobe AIR performance. Our app syncs data from a remote server to a local SQLite database, and on certain machines, this process takes 15 minutes or more. It should take, at most, a few minutes. We've done enough investigating to come to the conclusion that is definitely re...

Add eventlistener If the Object property is Updated or changed in Flex3, Air?

Hi, I am working in air application , i need to know how to add event listener when any object is updated, how can i implement this. Example: i have Class name Vehicle, and child class are Car,Bus,Bikes,Scooter,..etc, child class also have many properties like color,model no,....etc I have array collection and AddChild() method in V...

Adobe Air GUI Question

Hello, I am new to Adobe Air and I have just started to learn. I am using FlexBuilder 3 to build a desktop app for Adobe Air. I am a bit confused with the GUI development. The app I am building has multiple input screens. What are the best practices for this type of app in terms of windows and input screens? Should I use the Viewstack ...

Multiple HTTPService Requests with Flex and AIR

I am developing an AIR application with Flex Builder that requires me to make two HTTPService requests at the same time. They both use different instances of the HTTPService AS3 class. Both services are calling a RESTful API which is currently running on my localhost (XAMPP) and takes a few seconds to respond (much quicker on live server...

Flex: Make advanced data grid height of rows?

I have an ADG along with some other components in a VBox. The number of rows of items in the ADG is variable. I want the height of the ADG to be however tall it needs to be to show all the rows without scrolling. This is because I want the containing VBox to handle all the scrolling. The reason being, is because sometimes there is a ho...