Flex3 - Air "nativeprocess Not Supported"?
Sep 7, 2010I want to fix the error when am using "nativeProcess" class it giving error, How to resolve the error.Any air installation failed?
View 2 RepliesI want to fix the error when am using "nativeProcess" class it giving error, How to resolve the error.Any air installation failed?
View 2 RepliesI 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]...
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 RepliesI 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]...
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]...
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 RepliesI 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 RepliesI 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]....
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]...
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 RepliesHow 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.
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]....
var arg3:Vector.<String> = new Vector.<String>;
var rescJar:String = File.applicationDirectory.nativePath + "/java/test.jar";
arg3.push("-jar",rescJar,"-n "a string"");
I have one swf file in that i used fscommand to get final output when submit button clicked in that swf i am loading that swf in SWFloader in flex3 .i need to get fscommand value as Alert, how to get that value first and display as alert.
View 2 RepliesI've been developing Flash stuffs for almost a decade, i consider myself advanced in AS2 .. i am also very advanced in PHP..Throughout all my projects I've always used Flash, AS2, mySQL and PHP, and have made tons of applications , some mission critical, w/ that combo..
[Code]...
I am trying to create a secure database for a mobile app using the as3corelib EncryptionKeyGenerator package from here but when I run it I get the following error:Error: EncryptedLocalStore is not supported on the current platformat flash.data::EncryptedLocalStore$/setItem()Googling around I see it is becaue the ELS is not supported for mobiles. Does anyone know of the best solution to this problem? I guess I could use the persistence manager to store the information but I am not sure this is the most secure method.
View 2 RepliesI have my swf in an iframe called 'nav', and when clicking on a nav button I want to change the contents of 'main'
Here's my frameset:
<frameset cols="120,*" frameborder="NO" border="0" framespacing="0">
<frame name="nav" src="nav.html" scrolling="NO" noresize>
<frame name="main" src="welcome.html" scrolling="NO" noresize>
[Code].....
I have an interesting situation. I am trying to control the main movie on a stage with a button in a second movie on the main movie embedded in a scrollbox. I have created a class for the movie in the scroll box and one for the main movie. The main movie will perform gotoAndStop from the constructor. But it will not work in a public or static method located outside the constructor.
I am trying to get a button in the movie in the scroll box to communicate through the class for the main movie and move the playhead to a specific frame in the main movie.
Right now I have a button listener in the scroll box movie talking to a static method created in the class for the main movie. I can communicate to the static method. I push the button and a message is output through a trace. I know that communication is taking place. The issue. I want to use a gotoAndStop in the static method to move the main movie to the specific frame. Flash tells me that this is a migration issue. That gotoAndStop is no longer supported.
Do you know anything similar to UncaughtErrorEvent but for flex 3.4 and flash player 9.0 ? I've seen that this UncaughtErrorEvent should work for flex 4 and flash 10.1, but not less.Is there anything for the versions mentioned to globally catch the exceptions in flex?
View 1 RepliesCan you please tell how can we place ADS (whether Google Adsense or others) on a website completely designed in FLEX?
View 2 RepliesI'd like to run the Flex SDK compiler toolchain on our FreeBSD integration server to get around some nasty things like having to check in compiled Flex artifacts (yuck, I know!).It's worth noting that we have and use the data visualization components under license, so we'll need support for building with those as well.
View 1 Repliesdoes the flash media player support streaming of fragmented MP4?
View 1 RepliesAnyone know where I can find what Android APIs are supported in the latest Flex AIR SDK (Hero). In particular is the speech to Text API supported?
View 2 RepliesI'm trying to build a screenshot package in C# which creates a screenshot from an URL. But apparently flash isn't supported in the webbrowser class. Is there any solution to this or is there any open source solution on how to render flash in a screenshot from url solution?
View 1 RepliesI'm now using the cairngorm flex framework,and it supports mxml. Is this supported natively by flash or only supported by frameworks?
View 1 RepliesI saw a lot of issues about using Microphone in Flash on Android on the Internet. But my own flash applet does not work, saying "mic not detected". Also there is a note in AS3 reference, that Microphone class is not supported on any mobile device.
View 1 Repliesi have a movieclip "button51". And within button51 I have opponent1.i m writing button51.(getChildByName("opponent" + indexHorizontal)as MovieClip). gotoAndStop(2);but it throws a runtime error -TypeError: Error #1123: Filter operator not supported on type stapu_fla.opponentNumbers_2.at Main / selectMode().Basically I want to change frame of a movieclip which is inside another movieclip using getChildByName for the inside mivieclip name.. Pls help
View 4 RepliesThis does not work:
Within the HTML Head tags:
Code: Select all<script type="text/javascript">
function show_alert()
{
alert("I am an alert box!");
[Code]...
from the actionscript language reference in mx2004:
on()
Availability
Flash 2. Not all events are supported in Flash 2.
Usage
on(mouseEvent) {
// your statements here
}
Flash 2. Not all events are supported in Flash 2. <---- !!! which ones aren't supported? i couldn't find this in the AS2 docs anywhere.
and would this mean the same thing for this usage?
target.onMouseEvent = function(){
}
I'm getting occasional ConcurrencyError faults when using HTTPService in Flex 3. I have four HTTPService objects, all configured with concurrency=single. I'm not sure though how to continue to diagnose, as I don't see in the FaultEvent what service object caused the issue, and I can't easily reproduce it on-demand.
One feature of my app is that I am also using a URLRequest to load a sound shortly after receiving a result from one of the HTTPService calls. Could this be related to the concurrency error?
The fault looks like this:
[FaultEvent fault=[RPC Fault faultString="Attempt to invoke while another call is pending. Either change concurrency options or avoid multiple calls." faultCode="ConcurrencyError" faultDetail="null"] messageId=null type="fault" bubbles=false cancelable=true eventPhase=2]