Flex :: Run An EXE File From Flash / AIR?
Oct 29, 2010
I want to run an .exe file from my Flash/Flex/AIR Application,What I need is to build an Interface to open a xls file and convert it into swf, I have the converter file which is an exe file, when I run convert.exe infile.xls outFile.swf.once the conversion is done, I need to show all swfs inside my Application.I know Action Script 3.0.
View 1 Replies
Similar Posts:
Feb 17, 2010
I have to build one MXP package for Flash (not Flex). But i have multiple components, somthing like HelpSymbolMovieClips(have its on class), one image holder. etc. I need to combine there swc file into a single MXP file.How can i make a all these multi movieClip functionality in a single SWC file. Am bit confused about the structure of the component which is having multiple functions/MoiveClips. like (Image gallery components.
View 1 Replies
Mar 29, 2010
I am working with Flex, Flash, Action Script and I want to browse the local machine file system using Operating System's file browse window and select a file then i want to get the full path of the selected file. How can I do this?
View 3 Replies
Dec 7, 2009
i'm using swfloader to load swf file in the middle of the screen using the following command:
<mx:SWFLoader id="game_swf" source="crazy_counting.swf" x="198" y="0" width="721" maxWidth="721" height="531" maxHeight="531" />
now stage of the flash file takes the exact size that i stated by the flash file itself is overlapping the stage with some graphics
View 3 Replies
Feb 4, 2010
i am using flexbuilder 3 now i need to load xml file from disk using flex without AIR i imported flash.filesystem.File but error occured. but AIR project,flash.filesystem.File was successfully imported. Cant i use flash.filesystem.File from flex without using AIR?
View 1 Replies
Jul 25, 2011
I want to read a file that is in the client machine in flex web app.But ± dont want file to send server for processing ± want to to read content of file and show in it a component .
View 1 Replies
Dec 6, 2009
i'm pretty new to flex 3 but it's really cool so far. now in the center of the screen when i try to load an swf file using the SWFLoader object i get the following error:
Error #2044: Unhandled securityError:. text=Error #2140: Security sandbox violation: file:///C:/Users/ufk/Documents/Flex%20Builder%203/GamePage/bin-debug/GamePage.swf cannot load file:///C:/Users/ufk/Documents/Flex%20Builder%203/GamePage/bin-debug/crazy_counting.swf. Local-with-filesystem and local-with-networking SWF files cannot load each other.
[Code]...
View 4 Replies
Jan 23, 2010
I am using FDT for Flex development and when I compile, and it tries to access a flv file, I get the error "cannot access local file". This is obviously a security sandbox thing.Now I tried adding crossdomain.xml to the root and it still makes the same error. I know somehow I need to add to my project use-network=false, but i cant for the life of me work out where the flex compiler additional arguments area is. I know in eclipse how to do it, but with the slightly modified FDT, i havent got a clue
View 1 Replies
Feb 20, 2010
Ive been doing some research and I cant seem to find anything on writing to a file. My initial question was writing a array to a seperate file. But now I am looking for resources on how to write any data such as XML or a array to a file. What I want to do is create a game editor. I want to eventually save that data to a file to be opened later.
View 1 Replies
Aug 25, 2010
I have a flash app that needs to download a file, whose name contains UTF-8 characters.
Internally, the filename is read from a UTF-8 XML file, e.g. "my filé.pdf". The code goes something like this:
url = get_filename_from_XML();
req = new URLRequest( url );
ref = new FileReference();
ref.download( req );
The problem is that the URL is encoded in Latin1, i.e. the é is encoded as %E9 instead of %C3%A9 (according to FireBug). How can I get Flash to encode the URL correctly?
View 2 Replies
Jun 23, 2011
thing is, I have to do some modifications at my work, but I never used Flashdevelop, only Flash Builder.
However, the project I need to modify was made with Flashdevelop, it comes with a .as3file, no fla file anywhere.
So, what do I need to do in order to use this project in Flash Builder?, just creating a new project and browsing the path file with the src .as files is enough?, or do I need to do something else?
View 1 Replies
Jul 12, 2011
I've built a form in Flex. When I run the flex project, I get a html file with some js, css and swf files (NOT A SINGLE FILE), swz files. When I run the main swf file alone, many things are working perfectly except at places where it needs to send a HTTPService request. When I use the html file, all works fine.
Now I want to do the following.Import this form made in flex into a flash site (actionscript 3)This form has various ViewStacks, where the user will be travelling through these. I want to reload the form back to its initial stage when the user wants to fill the fields again. Can there be any request sent to the Flash Site from this FORM, regarding the form submission success Can I compile the Flex Project to one single swf file, so that I can use this swf file without any Browser? Can I convert the webpage application Flex Project to an Adobe AIR application [URL]..
View 1 Replies
Sep 28, 2011
This should be easy, but I can't find it. I want my .html and .swf files to be named something differently than the project name. Project name is foo, I want the outputs to be bar.html and bar.swf.
View 1 Replies
Mar 16, 2012
I am trying to generate XML file in Adobe Flex 4.6. This is my code.
public var prefsFile:File;
[Bindable] public var prefsXML:XML;
public var stream:FileStream;
[code].....
View 2 Replies
Oct 22, 2010
How to post data from a flex file to a php file? I am not able to create an action.
View 2 Replies
Jun 29, 2010
Is it possible to dynamically load a flex component, compiled as a swf file into a .fla file. Originally, this flex component can be loaded as a standalone flex application with parameters to connect to the appropriate server. But now a customer of mine wants to integrate this flex component (originally inserted in a flex application) in a custom flash application, thus in .fla file using Adobe Flash CS4.
I've seen that it was possible to integrate a flash animation created with Adobe Flash CS4 in a flex application. But what I need to do is the opposite.
View 1 Replies
Jul 1, 2009
i used blue.css and also beige.css in flex .i have theme combobox for user changed theme dynamically so i stroed
[Bindable]
private var pickcss:Array=["blue.css","beige.css"];
private function css_initializeHandler(event:Event):void
[code]........
View 2 Replies
Sep 13, 2009
may i know in order to use these 2 class in my actionscript. I need to use "adobe air and flex" ?
View 1 Replies
Feb 8, 2010
For For some reason, I'm not getting any result returned to me when uploading a file to my server. I'm using a php script, the file gets sent, gets uploaded, but I can't get the return result.
I am firing these event listeners:
fileRef.addEventListener(ProgressEvent.PROGRESS, fileRef_progress);
fileRef.addEventListener(Event.COMPLETE, fileRef_complete);
[code].....
View 1 Replies
May 4, 2010
How can I consume a webservice that hasn't explicitely created a crossdomain.xml? I understand it's for security and to prevent cross-site scripting, but it does seem like a major limitation to the Flex framework. For example, if I want to consume a webservice, which is suppose to be language agnostic, then I can't with Flex. The webservice/server has to be specifically prepared for Flex/Flash. If it's not, then it cannot be consumed.
View 3 Replies
Jul 23, 2010
i want to open a 3d max file and do some rotation of a 3dmax object in flash action script 3.How can i do this?
View 3 Replies
Feb 8, 2011
is there method/algo to detect universal file encodings ?
View 1 Replies
Apr 15, 2011
I recently I followed this great guide to integrate the subversion revision into exe/dll files generated from my c++/c# visual studio projects. Now I can easily right-click on an exe-file to find which revision was used to build the binary (see image below). I love this feature.
Is this possible to do the same in flash/flex when building air/stand-alone applications? I would like to tag both exe file and dlls.
Update with solution: Although the ANT-based solutions provided here aren't as smooth as the one where the svn info is burnt into .exe/.dll files (in my opinion), it has solved my problem and is now implemented in our productions. My setup is based both on Kevin's and frankhermes's answeres but uses SubMCRev.exe instead of svn.exe or jar files. In our implementation we dump the svn revision to the logfile at startup. The output from the SVN target below looks like this: Built with SVN Revision: 1.0.0.1181 (local modifications found)
[Code]...
View 2 Replies
May 2, 2011
I am trying to build a application which can record sound in Flex 4. I am able to record sound but i am not able to save sound data in a file on web.
How can i save sound data on server in flex web application. FileStream does not work in flex web application.
View 1 Replies
Jun 17, 2011
I want to exported designed components from Flash Catalyst to IDEA.Because FXPL is a specific adobe format, i need it in a little bit more generic format like an swc.So how is the best way to get my component into an swc ? I found a lot of scripts / hacks to pack actionsscript / flex assets into an swc but i would like to have an "official" way.
View 2 Replies
Nov 13, 2011
I have a database file I need to send to a PHP controller for synchronization. I can access the standard file upload methods in AS3 but they all require user interaction. I need this take place behind the scenes.
View 2 Replies
Feb 3, 2012
I want to create Flipbook in flex/Flash. Normally its created via XML and XML has some image or swf list it is loading as page in flipbook. But I want to create this functionality directly from the PDF file. Just developer need to give only PDF file name/path flip book will generate automatically.
View 2 Replies
Jun 4, 2009
I am using FlashDevelop to develop flex applications and wanted to paint a LineChart in a panel. I used an example of Adobe itself to be found here. When I compiled it FlashDevelop showed the following output file type was not found or was not a compile-time constantFor Both LineChart and AreaChart.Can someone tell me why this happens? I also tried it in the code by importing mx.charts.LineChart, my code completion found the classes but when compiling the same error occurs.
View 2 Replies
Aug 31, 2009
I need to read data from a file after a user has selected a file using a file browser, for a Flex web app (NOT AIR). I know this is possible in Flash 10 using the FileReference class load and data methods. But using Flash 10 is not an option for me. So does anyone know of anyway I can do this in Flash 9?
View 0 Replies
Jun 26, 2009
I have a flex application that repeatedly polls a remote XML file to detect changes, but I've found that once the file hits a certain size, the poll blocks the UI and makes the page unresponsive for a short time.
Is there any way to ensure that the call made to the server or the event from the flash.utils.Timer class runs asynchronously to the main UI thread?
View 3 Replies