air

Does window.open not work inside an AIR html component?

I have a component in AIR like so: <mx:HTML id="html" width="100%" height="100%" location="https://example.com" locationChange="dispatchLocationChange(event)" /> The page it loads contains this: <a onclick="alert('onclick')">Alert</a> <a href="javascript:alert('js')">Alert</a> <a onclick...

Acess itemRenderer in List

How to access List itemRenderer and its properties (Spark - Flex 4)? I want to iterate through list and do something like (note it's pseudo code): for (var i=0;i<NUMBER_OF_ITEMS_IN_LIST; i++){ myList.getItemRenderer[i].property } ...

Flex HTMLLoader component not raising mouseDown events for all mouse clicks

I have built a Air 2/Flex 4 kiosk application with Flash Builder 4. Currently I am implementing a touch screen browser to enable users to navigate company training videos. In an attempt to improve the usability of the website on the touchscreen I have placed the HTML component in an adaption of Doug McCune's DragScrollingCanvas (updated ...

Paste image from clipboard in TinyMCE

I need to be able to paste an image from the clipboard into TinyMCE. I do not want to use a Java applet, hence http://lassebunk.dk/2009/08/04/clipboard-java-applet/ would not help, but I want to use Flash / Flex / AIR. Of these three, only AIR has functions to get images / file objects from the clipboard. I am working on Drupal to creat...

I/O between AIR client using Native process and executable java .jar

I am using Adobe AIR 2.0 native process API to launch a java executable jar. I/O is handled by writing to the input stream of the java process and reading from the output stream. The application is event based where several events are fired from the server. We catch these events in java code, handle them and write the output to the outp...

Adobe air... launch website but pick which browser?

OK I know that in Adobe Air you can call navigateToURL(new URLRequest(url)) and it will open the users default web browser to open the page. Also now in AIR 2 you can launch any application. So I am wondering if there is a way I can launch a particular browser to open a page in? ...

How to package AIR 2 native installer?

I have made an AIR 2.0 app that uses NativeProcess so it needs to be packaged as a native installer (.exe) rather than a .air file. I first tried using Package Assistant but I kept getting an error telling me it cannot load keystore file. so I tried using the command line I use: pathToAirSDK/bin>adt -args but I get an error telling ...

Maximizing Adobe Air windows on multiple monitors

In an Adobe Air AJAX application with multiple windows running on a system with multiple (three or more) monitors, can you maximize the windows in each monitor? I've seen posts by others trying to do this, but I've not seen anyone saying how it worked out. I basically need to build a 'status monitor' system (similar to, say, an airport...

Deactivate Air app created in AS3 after next Monday?

Hi, I have an application deployed in Air, written in AS3 that the client wants to install and test, I have developed a simple license app, but he is pushing for a full license which he said he will fully pay on next Monday. How would you create a procedure in AS3 to deactivate application next Monday? How secure will it be? Will simply...

How to use AIR 2.0 NativeProcess API with Java?

How do you use this great new API in connection with Java? Do you use just pure native process API like nativeProcess.standardInput.write() and nativeProcess.standardOutput.read() with which you cannot debug Java side neither invoke remote java method. Or you are using some library that leverages remote method invocation such as flerry l...

Running a Java program with a .dll from Adobe AIR's native process

I would like to be able to operate a scanner from my AIR application. Since there's no support for this natively, I'm trying to use the NativeProcess class to start a jar file that can run the scanner. The Java code is using the JTwain library to operate the scanner. The Java application runs fine by itself, and the AIR application can s...

NativeProcess API Java Debugging?

What is your way to debug Java side when nativeProcess.standardInput.write method is invoked by Flex side? I know that it is possible but don't know how? ...

controlling X and Y of spark.components.Window

I am building an air app in Flex 4. I am creating windows as I need them in a chromeless application. Here is what I have in my main app creation complete protected function creationCompleteHandler(event:FlexEvent):void { facade.sendNotification(AppFacade.APP_INIT, this); var buttons:Navigat...

Flex vs ExtJS for internal system front end, what are their strengths and weaknesses?

Looking back at an internal system I just built, the common server / page model with minor use of Ajax for some UI components. I'm not sure if I'm satisfy with the end result because it seems like we spent too much time on the frontend. Not a big fan of going through all the trouble for styling and making sure the CSS works right. So ...

Right click function in Adobe Air

I want to add actions on mouse right click menu in Adobe Air .How to do that any one please help. Thankyou in advance. ...

Call ActionScript function inside the HTML page inside HTML Control

How to Call ActionScript function inside the HTML page inside HTML Control ...

Call Actionscript function inside the HTML

I am working in an AIR application. htmltext poperty only works in Flex. I have an HTML control with id as "html" and an HTML page is loaded inside it. I want to invoke an ActioScript function inside my AIR application from the javascript inside that HTML page (eg : If I have a button inside HTML page when I click on it it ...

Adobe AIR - How can I download files from web server without save dialog.

Hi I'm Leo Hyun from South Korea. So I want to make downloader application using AIR. My web server has somefiles. I want to download that files and save my desktop without save dialog. I don't know how can I fix it. actually I'm just beginner for AIR. I'm using Flash Builder 4 & Flex 4.0 & AIR 2.0. Somebody help me plz! <?xml ve...

How to show a confirm box in Adobe Air when user clicks an exit button

I want to know about the code for creating a confirm box in Adobe Air. When a user clicks an exit button, a confirm message box should pop up. Thanks in Advance ...

Flash and AIR technologies on apple's computers

Hi, i saw couples of weeks ago some notes in adobe AIR website that they said adobe AIR will not be supported on Apple's devices like mac-book-pro, and am working on an application that will be made using adobe AIR and flash technologies and i have to make sure that it will works on apples computers ?? it's really important and i will...