Actionscript 3 :: Use .jar-files With The NativeProcess Feature In AIR2?

Oct 6, 2011

I want to interact with a .jar-file in my AIR-project.I am using the NativeProcess feature in AIR2 for this, but it seems like I can't just define 'myJavaFile.jar' as the executable.On Windows, you can give 'java.exe' as the executable, the problem is Mac can't handle .exe-files.So my question is: how can I use .jar-files with the NativeProcess feature in AIR2. Or maybe there is an other solution to communicate with a .jar-files in AIR / AS3?

View 1 Replies


Similar Posts:


ActionScript 3.0 :: AIR Air2 NativeProcess -- Launching Python Scripts?

Jun 2, 2010

I gave up on Python and wrote the stdout interface with a C++ Win32 Console .exe file. It works fine. Bleegghh.

Old post: I'm trying to communicate with a Python script. It is not going well. So, first off, I can't get the damned thing to launch for the life of me -- so I'm focusing on that issue. I can get CERTAIN .exe files to launch, but not all of them. If I bundle putty.exe (lol) in a folder called NativeProcess it works fine, but I can't launch python.exe from my computer.

[Code]...

View 2 Replies

ActionScript 3.0 :: Upgrade From FlashPlayer10 And AIR2.5 On Flash CS5?

Dec 3, 2011

I am using FlashDevelop4, in there I could select FlashPlayer11 and AIR3.0..But on FlashCS5's end there's only FlashPlayer10 and AIR2.5...How can I upgrade it on Flash? (the update center in CS5 suite says Flash is at the latest update)

View 6 Replies

As3 :: Professional - Stop A FLV Video On Entering The Next Frame (cs5 - AIR2.5)

Jan 5, 2011

I have a magazine of 40 frame. each frame is a different page. in one page (frame) i have imported an flv video from a url. but when i publish it and go to the next frame the video keeps playing, even if im not seeing it.

View 7 Replies

Flex :: AIR 2.0 NativeProcess Is Not Supported

Jun 29, 2010

I have built a application that use a nativeProcess to open exe. The application into Flex Builder 3 run whitout errors. Then the problem come when I export the aplicaction AIR in .air and install the applicaction in the developer pc or other pc. When I push the button to open the .exe, appear the message "Native Process is not supported". The code in the main.mxml that I use:

[Code]...

View 3 Replies

Java - AIR Nativeprocess Performance?

Oct 30, 2010

Is AIR nativeprocess able to receive message from Java program and process every line of message as fast as possible in milliseconds? Does it has a miss read or delay?

View 2 Replies

Flex :: Argument To Nativeprocess Failed

Nov 29, 2010

I need to pass the "" to the mm.exe that run with nativeprocess. When I pass "In From MIDI Yoke: 1" even using " to the nativeprocess, it won't launch the application properly and caused it to crash. What wrong this the code?

[Code]...

View 2 Replies

Flex :: Error #3219 NativeProcess In AIR

May 26, 2011

I have a program in AIR 2.6 for Windows and Mac Os platform. Use NativeProcess class to execute native apps that i have included in the project.

[Code]...

View 2 Replies

ActionScript 3.0 :: NativeProcess On Server-side?

Aug 24, 2011

I would like to launch an external program on the server from a server-side ActionScript. My server-side scripting is in ActionScript 1.0 so I can't use the NativeProcess class, right? Can I use ActionScript 3.0 on the server? Is there another way?

View 3 Replies

Actionscript 3 :: Pass Parameter In Flex NativeProcess?

Jul 8, 2010

I want to pass two parameter to nativeProcess. While i am running exe file using windows command with parameter, it is working. Command for window is "abc.exe a.txt b.txt"How can I pass two parameters to the exe in that format using flex nativeProcess?This is what I have so far:

<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"

[code]....

View 9 Replies

Flex :: Way To Launch Exe And Release Nativeprocess Handler From Monitoring The Process

Nov 10, 2010

The NativeProcess is having a big issue which would hang/sudden stop response after 1-2 mins of running. I wonder if anyone else encounter the same issue?I have tested on Windows 7 (64bit).If there any way to launch an exe and release the Nativeprocess handler from monitoring the process or other method will be appreciate.

View 1 Replies

Flex :: Debug A Adobe AIR Application Which Uses NativeProcess API To Invoke A Executable?

Nov 23, 2010

How can I find the return value of a executable which has been invoked by a AIR app using the NativeProcess API? I am using Flash Builder 4. The following c++ generated executable

festival --tts "HelloSpeak.txt"

works fine on the Windows cmd line , but on invoking by the NativeProcess API like in the example article doesn't produce the desired result. I invoke the command with the arguments on a button click handler, but there is no TTS generated output.

View 1 Replies

Flash :: Flex4 / AIR With NativeProcess - Cannot Pass Cmd Line Options To Imagemagick Convert.exe

Mar 22, 2011

I'm trying to use Imagemagick convert.exe with Flex4 NativeProcess. I know I have it configured properly because I can get a successful result with a simple call with no options to convert.

[Code]....

View 1 Replies

Flex :: How To Pass "" Symbol To Nativeprocess Argument

Aug 25, 2009

var arg3:Vector.<String> = new Vector.<String>;
var rescJar:String = File.applicationDirectory.nativePath + "/java/test.jar";
arg3.push("-jar",rescJar,"-n "a string"");

View 3 Replies

Flex3 - Air "nativeprocess Not Supported"?

Sep 7, 2010

I want to fix the error when am using "nativeProcess" class it giving error, How to resolve the error.Any air installation failed?

View 2 Replies

Sound - Turn On/off Feature

Sep 10, 2009

I have a very simple project. I just need a flash video that has a sound file and a button to turn on/off.

View 1 Replies

ActionScript 2.0 :: Create A Security Feature For My SWF's?

Feb 25, 2009

I am trying to create a security feature for my SWF's.I have a .txt file named security.txt.It has a variable called permissionGranted and is set to false

Code:
permissionGranted=false
Here is my AS:

Code:
Stage.showMenu = false;
Stage.scaleMode = "noscale";[code]..........

This doesn't work though,it traces true of false correctly but won't touch the if statement.

View 1 Replies

ActionScript 2.0 :: Integrate A Search Feature?

Nov 18, 2010

I have a XML file which I am trying to integrate a search feature. I have attached a zipped folder of my working example.In this XML file is a collection of modules: 1.1, 1.2, 1.3 etc...

Each module is broken down further:

1.1has: 1.1.1, 1.1.2, 1.1.3
1.2has: 1.2.1, 1.2.2, 1.2.3, 1.2.4 etc...

I have a search feature that is searching the XML, then outputting the content if found.Now this is working OK for a specific module listed above, for example, in my zipped example, I can get it to search 1.1.1, 1.1.2, 1.1.3 etc...

What I can�t seem to get working is how to search all of the modules sections: eg: 1.1: 1.1.1-1.1.x, 1.2: 1.2.1 � 1.2.x and so on depending on how much content is sorted in my XML.

View 14 Replies

ActionScript 3.0 :: FTP Upload Feature For Website?

May 25, 2011

I am building a flash website, but want my clients to be able to FTP upload from the website. For example if they want to submit a picture or file.

View 3 Replies

Creative Pro Make Webpage Feature?

Sep 20, 2009

On the creative pro website [URL].. they have a block at the top with images that change. It is titled 'today on creative pro' Does anyone know how they created it? Was it with Flash?

View 3 Replies

Professional :: Packager For IPhone Feature?

Feb 21, 2010

I am very interested in any information about the new  Packager for iPhone feature for cs4 flash professional.

View 5 Replies

Professional :: How To Code A Drag & Pan Feature

Aug 12, 2010

I'm making a map with Adobe Flash Professional CS5, using Actionscript 1 & 2, and I'm trying to add the ability to drag and pan while zoomed in. For the zooming, I put a button in either corner: a zoom out icon, and a zoom in icon. For the zoom-in icon, I used the code on (rollOver){ setProperty ("BG", _xscale, "200"); setProperty ("BG", _yscale, "200");} (BG being the name of the instance used for the background of the map, which is a movie clip.) Now, this zooms me in well to one corner, but then i want to be able to drag and pan to be able to see more of the map. I've found some good examples, but the code is way over my newbie head, and I can't get any examples of code I find to work, no matter what I've tried.

View 20 Replies

ActionScript 3.0 :: Use The Embed Fonts Feature And Css?

Jul 5, 2011

do you know how to use the embed fonts feature and css? or anti-alias the text that is styled using css? i have tried to set:

titlefield.embedFonts = true;
titlefield.stylesheet = sheet;
 
but it does not work. if i comment out the embedFonts the css works fine but the text is very aliased. but as3 does not support the embed font property within css.

View 5 Replies

ActionScript 3.0 :: Use ArrayCollection Like Feature In Flash IDE?

Nov 18, 2010

I heard that ArrayCollection on Flex, so how can I use ArrayCollection like feature in ActionScript 3.0 and Flash IDE.

View 2 Replies

Flash :: Online Demo Of New AEC Feature?

Dec 30, 2011

Does anyone know of an online demo of the new flash AEC feature ?

View 1 Replies

ActionScript 2.0 :: Creating A SEARCH Feature?

Dec 13, 2005

just wondering if there is a way of setting out a text input box and a go button and using an EXCEL Sheet FULL of data (uk postal codes) to create a search application???

View 1 Replies

ActionScript 2.0 :: Add A Zoom To Selection Feature?

Mar 18, 2008

How can I add a zoom to selection feature to this?

I just want a basic marquee zoom. Like draw a rectangle on the map and zoom into the rectangle.. just like on this map

View 4 Replies

How To Add Scroll Feature To One Of Page On Portfolio Site

Jun 16, 2009

I'm working on building a personal portfolio site right now. I wanted to add a scroll feature to one the pages. I wasn't sure how to build it, so I down loaded one off here [URL] and just plugged my own graphics into it. It scrolls up and down just fine, but when I try to put a mask over it, it doesn't work. In the content the author wrote for his movie he says "Note: If you want to have a mask over the content: copy MC:frame and make it a mask for MC:Page. If you do so, notice that "non-anti-alias text" is not possible anymore. This is a common thing in a Flash Movie. I keep trying that and it just blocks everything out all together. So what am I doing wrong?

View 1 Replies

ActionScript 2.0 :: Fullscreen Feature Does Not Work In Any Browser

Jan 20, 2010

After I make changes and publish file, the fullscreen feature does not work in any browser.

Full file can be found here. link

I am using CS4 to edit.

View 9 Replies

Flash :: Pressing F12 To Preview And Use This Feature It Would Not Work ?

Jul 23, 2009

I have recently received a copy of the Adobe eLearning suite, in particular I hope to use Flash for the majority of my elearning projects.I have been having trouble using the learning interactions that come ready to use with Flash. For example,I placed the drag and drop interaction onto the stage area, but when pressing F12 to preview and use this feature it would not work (could not drag the movie objects), the same goes for all the other features I can select radio buttons etc but when pressing the 'cheack answer' button nothing happens.Even though these interactions come with instructions which i have followed, it still does not seem to work. I do not wish for them to be scored, I just want the user to receive correct or incorrect feedback.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved