Questions tagged [air2]

13 questions
6
votes
5 answers

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…
dede
  • 809
  • 3
  • 11
  • 26
4
votes
2 answers

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…
JD Isaacks
  • 56,088
  • 93
  • 276
  • 422
3
votes
2 answers

how can I read the version from application descriptor file

So I have a basic application descriptor file for my AIR app. It looks something like this, shortened for sanity:
invertedSpear
  • 10,864
  • 5
  • 39
  • 77
3
votes
2 answers

Does Flash Builder 4 now use AIR 2?

I just got CS5 master suite which includes Flash Builder 4 and Flash CS5 Pro. When I create a new AIR app in CS5 pro it says "AIR 2" but when I create a new AIR project in Flash Builder I do not see anything indicating that it is AIR 2 or 1.5? Is…
JD Isaacks
  • 56,088
  • 93
  • 276
  • 422
2
votes
2 answers

Run BAT file from Adobe AIR?

To package an .air file into a native installer you have to use a batch program called adt. The command on Windows will look something like this: C:\Users\jisaacks>"C:\Program Files (x86)\Adobe\Adobe Flash Builder 4\sdks\4.1.0\bin\adt" -package…
JD Isaacks
  • 56,088
  • 93
  • 276
  • 422
2
votes
2 answers

Flex open window behind active window

In Flex Air app, how do you open a window behind an active one? I tried following and i can't seem to get it to work
Sang Park
  • 382
  • 2
  • 17
1
vote
1 answer

Air2.0, Error while accessing Native process API

I am using native process API of Air2 in HTML/Js framework. The problem comes when i try to make object of NativeProcessStartupInfo. Here is mine code if(air.NativeProcess.isSupported){ var nativeProcessStartupInfo = new…
Arshdeep
  • 4,281
  • 7
  • 31
  • 46
1
vote
1 answer

Flex 4 & AIR 2 NativeProcess API: The NativeProcess could not be started

I'm trying to build an application using AIR 2's new NativeProcess API's going from Brent's little video: http://tv.adobe.com/watch/adc-presents/preview-command-line-integration-in-adobe-air-2 but I'm having some issues, namely I get an error every…
ashgromnies
  • 3,266
  • 4
  • 27
  • 43
1
vote
1 answer

Need to bypass Error #2047: Security sandbox violation: AS3 loading external video swf

It´s me again.. I need to go to frame 2 on a AIR2 app but the sandbox deal is driving me crazy... This is how I load the MovieClikp: function startLoad() { var mLoader:Loader = new Loader(); var mRequest:URLRequest = new…
Samuel Ramzan
  • 1,770
  • 1
  • 15
  • 24
0
votes
1 answer

AIR: tag in Rich text editor

Is there is there a way(may be very complicated) to display images in the text area from htmlText property in AIR2? P.S. I know that AIR ignores img tags in HTML content due prevent possible phishing attacks. UPD Resolved: I have used Text Layout…
2xMax
  • 1,639
  • 6
  • 21
  • 41
0
votes
1 answer

Missing WindowedApplication chrome on Flex4 + AIR 2.0beta2

I've installed the Flex 4 SDK and overlayed it with the AIR 2.0beta2 SDK and am unable to bet the Flex chrome to show up when I try to use Spark's WindowedApplication. the simple MXML -> http://pastie.org/909375 When I use the MX WindowApplication…
Jon
  • 115
  • 9
0
votes
2 answers

Add AIR 2 to FB4?

I downloaded and installed FB4 beta 2. I want to try out some of the new AIR 2 beta features, but AIR 2 is not packed with FB4 by default, how can I set this up? Thanks! (Also if possible I still want to be able to use FB3+AIR1 for regular projects)
JD Isaacks
  • 56,088
  • 93
  • 276
  • 422
-1
votes
1 answer

ActionScript, possible race condition on mouse event

I'm at a bit of a loss here. I have an issue that I think may be due to mouse events taking precedence. I have a function f being invoked on mouse clicks - f does some work, then invokes another function g. Is it even possible that f runs, then…
EvenLisle
  • 4,672
  • 3
  • 24
  • 47