C :: Execute Language Executable File From Flex?
Aug 14, 2009is there any way to execute C language executable file from Flex?
View 2 Repliesis there any way to execute C language executable file from Flex?
View 2 RepliesI have to make a project for school. It will be like a tutorial, but into an application. I already made a part of it in MXML and a bit of action script but I encountered a few problems that are over my newbie limits. So the Flex Builder 2 makes a SFW file, in the main folder of the "project". I want to make that SWF file my main executable file. I have a folder with some pics, and another folder with Action Script Files. The code lvl that I know atm is ABSOLUTE BEGINER... I don know how to make my SWF file have a specific name when I run it.Here is a picture of a training exercices that should make thing more clear:Some people told me that I should use a HexEditor and stuff. Is it ture(what u think?).
Next problem. I dont know how to make the Stage to be fix. I mean.. I dont want the stage to be resizeble. I tryed to change the stagescalemode but that wasn't it. I toke a look at the help files of Flex from the net, about the Resize action and SystemManegment, but I didn't find out what I wantend.
I have created an executable file from a flash movie and am wondering if it is possible to center the movie on the desktop when it autoruns.
View 1 RepliesI'm using InDesign to create an interactive SWF of a document.
For normal Flash projects, I can create an executable (*.exe) file that includes the Flash codec so that the viewer doesn't need to install Flash beforehand.
Can I create something similar for the SWF file created by InDesign?
I'm using CS5 Design Premium. Intermediate knowledge in InDesign, basic in Flash, will likely need clear steps.
We need to display an HTML page within a Flash executable file. We request the members of this forum to kindly guide us on how to go about it.
View 1 RepliesI have developed a small adobe flash application (a parent .exe file which loads several child swf files). I can play it in almost any computer. My question is: Can I install and run the application in Aakash or Ubislate 7+ ?
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.
Is there way to bundle the adobe air application with a version of AIR that installs as a single executable? Or do I need to ask the users to go to Adobe to install AIR, then install our application?Bundle adobe air app with version of AIR that installs as a single executable?
View 1 RepliesI have written a jquery/javascript editor in FLEX 3 and actionscript 3. It has syntax checking facility. I will write a syntax checking parser either in C or in java. Here, I will include executable file only with flex code. That executable file should accept fully qualified file name as input parameter and it produce compilation result as output, that i need to display in flex.
Please anybody provide suitable solution that how to add executable file in flex, that will accept input parameter and produce output.
Say I have the follwoing XML:
<?xml version="1.0" encoding="utf-8"?>
<language id="en" description="English">
<start>Start</start>
<instructions>some instructions</instructions>
</language>
[code]....
translate this .fla file to English language... I would be very grateful to you (It is flash lite 2.0)
View 5 RepliesI have successfully loaded external xml file into flash AS 3.0. Now i need to format the xml file using the eXtensible stylesheet language (xsl) how to format the xml using xsl.
View 0 RepliesI need to run a batch file which needs to execute a local windows program.
How can I call that batch file insides AS3?
I found the following command online, but it doesn't work for me.
Code:
on (release) {
fscommand("exec", "skynet.bat");
}
The .bat file is in the same folder AND has an edited copy in a folder called "fscommands", both of which work. The problem is in the flash file. I attached the code to a button (of course), but when I click it nothing happens.
If I write a bunch of functions in a js file and host it on [URL], how can I use getURL() to make whoever sees my flash on the same host to execute the js file?
View 2 RepliesIs it possible to execute *.bat file using getURL? Like example something like: getURL(file_for_running_the_other_funcions.bat); or do you know some ways to run the bat file instead of that?
View 0 RepliesI created a fla file, which contains multi-layer movie clip. When I double-click the the flash movie, something funny is happening - there pops up another window, which is windows explorer, and it is showing the directory oin which the flash movie file is situated. And if I close the flash movie and double click it again - another windows explorer pops up.
View 5 RepliesI am busy updating a Flash application from a previous developer, but it was written for Windows. I am busy developing on Mac and there is this segment of code:
_global.localSO = SharedObject.getLocal("personalCookie", "/");
_global.localSO.data.name = textFileContent;
_global.localSO.flush();
fscommand("exec", "fscommand/save_personal.exe");
[Code]...
When we are building a application in Flex the components that we add are in English. Lets say that i want to change then to French, Spanish or Portuguese. How could i do that?? I've google a bit about it, but nothing good. I didn't look too much, because you guys always now things, and here in SO its more faster to ask than search for it : I think i didn't expressed my self correctly.
[Code]...
I'm building an Air app that uses an .app/.exe file as a bridge to hardware devices.
Ideally, I would like to include the executable with the Air app installer and launch the external program together with the Air app.
How do decide which OS specific file to launch?
EDIT: OK, the above wasn't very difficult:
var file:File = File.applicationDirectory;
file = file.resolvePath("src/assets/NativeApps");
if (Capabilities.os.toLowerCase().indexOf("win") > -1) {
[Code].....
The title says it all. Is there a way I can execute a public function (defined in a .as file,linked to .fla) when typing some script in a frame?i get this error:1120: Access of undefined property btn_upgrade1120: Access of undefined property comp_verapparently, flash does not let me use my public functions in my .fla .
View 6 RepliesI am trying to figure out the best way for doing spellcheck in flex application. I need a support of multiple languages, like: english, russian and so on. Also, I don't need a realtime spellchecking, only in some particular moment(for example, user click button: "check my text"). I found clientside solution here - flex:SpellCheck , but looks like it able to check only english text. So now I am thinking serverside solution, that recieve a text and needed language, check it(for example with aspell) and returns result. How do you think: is this a good way or I am missing something?
View 1 RepliesWell, there is a huge debate going on with the "best way to show users language selection", but no answer.All seem to suck. 2 and 3 suffering from "Country != Language", 1 and 4 suffering from "Cognitively, selecting a word out of a list of words sucks."While this question may seem subjective, it is possible to answer this question in a non-subjective way.Such as if Flex or some Flex component exists as a "Language Chooser" such as that found on a mobile device.
View 2 RepliesI have a swf file that will execute code when the mouse leaves the swf on screen. Everything works fine on a pc and a mac. But on a pc that has player 10.0.32.18 installed throws the error below. TypeError: Error #1009: Cannot access a property or method of a null object reference. at main_fla::MainTimeline/mouseLeave() This error is thrown out only when I try to call a function inside of loaded swf that is on the stage.
View 2 RepliesI am a newbie to Flash and ActionScript 3.0 platform. I don't know whether this is the correct place to post this kind of queries/problems/issues here. Till now, I had posted only basic flash issues here in this forum. I feel this is the most powerful issue which created head-ache to me till now. I spent nearly 4 hours working with this issue. But, I don't find any solution even in google.I have created a swf file, which when gets executed, gets data from backend database and displays as items in Combo-box. In swf file, if we select an item from Combo-box, collects data from database and gets back to flash and displays them as items in Combo-box. Each item has a specific image(.jpg file)associated,which gets displayed on stage of flash file(.swf file) upon selected from combo-box.
I am calling/invoking the flash file, When I click on a Button/select a tab created within my Java application.But,when the button gets clicked/tab gets selected, Combo-box is visible in flash file, but with no elements when we try to click upon it and the following error is getting displayed in a dialog-box:Title of the error is: An action-script error has occured.[URL]
How do I execute an Adobe Air app & pass arguments from Flex ?
View 2 RepliesI would like to execute a CMD command from my flex application programmatically. Something like
> mediaplayer.exe "mySong.mp3"
I also tried using fscommand but was not successful. While googling I learnt that its not supported by AIR. I would like to know if there is any other alternative for executing the commands.
Need to execute an external EXE from either a Java web app (running on Glassfish on Windows Server) or from an Flex/AIR desktop app.
View 2 RepliesI'm building Flex 3 application and I have a geocoding service (http://.../GeocodeServer) on a ArcGIS server (ESRI). I'm trying to execute a query on this service in order to retrieve some informations.
Unfortunately, when I execute the query, I get this error : [RPC Fault faultString="" faultCode="400" faultDetail="Invalid URL"]
It's definitely not the URL that is invalid since my locator uses it without any problem.
I'm creating an alert popup within an Adobe Flex 4 project using the following:
Alert.show(resourceManager.getString('myresource', 'ErrorMessage'), resourceManager.getString('myResource', 'ErrorMessageTitle'), Alert.OK|Alert.CANCEL,this,onExitSuccess,null,Alert.CANCEL);
When my language is of Asian origin (Japanese, Korean, Chinese, etc) the title appears correctly on the Alert, but the message does not. I'm seeing the correct localization values EVERYWHERE ELSE in my application except the Alert popup and in one other instance on a mx:Checkbox control.
I've checked my app and the strings are being returned from the resourceManager correctly but just aren't rendering to the screen. Does anyone have any insight as to what might be causing this behavior?