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
Similar Posts:
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
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
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
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
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
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
Jun 13, 2011
I need to create subscript text for mobile. I read at [URL} that label's baselineShift property is not supported on the mobile theme. So I created a plain mobile project using the default mobile theme with a couple of test labels and in the FB 4.5 emulator the baselineshift worked fine.
View 1 Replies
Aug 15, 2011
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 Replies
Nov 23, 2010
Anyone 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 Replies
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
Feb 25, 2011
I'm writing a helper class and I want it to be used in both flex and pure actionscript projects. For example:
public static function listenToPositionAndSize(control:DisplayObject):void
{
if (mxLibrariesSupported)
{
control.addEventListener(mx.events.ResizeEvent.RESIZE, onControlResize);
control.addEventListener(mx.events.MoveEvent.MOVE, onControlMove);
[Code]...
EDIT: One simple reason to do this is: if you check the above example, I would prefer mx.events.MoveEvent.MOVE (if available) instead of flash.events.Event.ENTER_FRAME for performance issues.
View 3 Replies
Jun 12, 2009
[code]For the above Flex Code, when I click on the label lb, I get the following message at the runtime:[code]
View 1 Replies
Sep 2, 2010
I am wondering if flex enforce style settings and throws compilation errors if a style that is applid to a component that is not supported by it. Has any one tried it before ?
View 1 Replies
Nov 12, 2010
I am using Flash Builder Buritto with the latest "nightly" Flex 4.5 SDK, build 17689. It seems the dropShadowEnabled property is no longer supported with the Hero default skin. I get this compilation error:
The style 'dropShadowVisible' is only supported by type 'spark.components.Panel' with the theme(s) 'spark'.
Is there any way to disable the shadow without making a custom panel skin?
View 1 Replies
Jul 7, 2009
I've been trying to embed some svg files into an AS3 project using the Embed meta tag. For example:
[Code]...
However when displaying these files as Sprites only some of the gradients are surviving the embeding process. From what I've found simple (2 step) horizontal gradients seem to stand the best chance of being preserved, but sometimes other kinds of gradients are as well. In one case simply rotating an object 90 degrees causes the gradient to vanish when displayed in flash. Does anyone know a rough set of rules to use when creating svg gradient fills so they are preserved when rendered in flash? BTW: I used Inkscape to create the images in question.
Update: Bizarrely the solution to this seems to be setting the opacity of any object in the svg file whose gradient isn't displayed properly to a value below 1. Don't ask me why this works but it does. It does however have the unwanted side effect of the objects edges not being rendered as smoothly.
View 4 Replies
Jan 25, 2012
I have a a structure like this:
e.item.fatturato_ac_s1
e.item.fatturato_ac_s2
e.item.fatturato_ac_s3
e.item.fatturato_ac_s4
[...]
and so on...
In order to compute dynamically the string I wrote:
e.item.(myStr.toString()) where myStr (type string) = "fatturato_ac_s" + Index (so I can have fatturato_ac_s1, fatturato_ac_s2, ...)
I can correctly retrieve the value of e.item.(myStr.toString()) (a numeric value), but if I try to put it in a variable I get the error in the title:
myVariable = e.item.(myStr.toString())
myVariable is a Number.
I also tried:
myVariable = Number(e.item.(myStr.toString()))
But doesn't work... the same if I try String to String....
View 1 Replies
Jun 26, 2010
I am trying to do a simple CSS declaration. However, I got the warning above and not sure how to solve it. I thought s|(type) should declare the style for me
<fx:Style>
@namespace s "library://ns.adobe.com/flex/spark";
@namespace mx "library://ns.adobe.com/flex/mx";[code]....
View 1 Replies
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
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
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
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
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
Jul 18, 2011
I am a Flex developer. I wish to make flex applications for iphone. But, when I google up for the same, most of the link shows up that Adobe Flex and flash aren't supported on iphone.
Is this right ? Why it isn't supported ? If it is supported, which are the good books for developing iphone applications via flex.
View 4 Replies
May 18, 2011
I've been trying to create a custom mxml component that extends another custom mxml component (i.e.MyMXMLComponent -> BaseMXMLComponent -> Group). I've been reading that trying to add visual children to MyMXMLComponent caused error with Flex 3 but that's no longer the case with Flex 4.
What I want to know is whether this is a supported/fixed/documented feature of Flex 4? or just some undefined behavior in Flex 4 that may get changed with future updates?
if this is supported and documented feature, does anyone have link pointing to adobe document stating it as such?
View 1 Replies
Feb 2, 2011
I'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]...
View 7 Replies
Sep 4, 2009
I 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].....
View 1 Replies
Jun 10, 2010
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.
View 1 Replies
Jun 19, 2009
does the flash media player support streaming of fragmented MP4?
View 1 Replies
Jan 10, 2011
I'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 Replies