Flash :: Bundle And Execute .app/.exe File With Adobe Air App

Nov 25, 2010

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].....

View 2 Replies


Similar Posts:


Flex :: Bundle Adobe Air App With Version Of AIR That Installs As A Single Executable?

Nov 23, 2011

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 Replies

Execute An Adobe Air App From Flex?

Dec 12, 2009

How do I execute an Adobe Air app & pass arguments from Flex ?

View 2 Replies

ActionScript 2.0 :: How To Execute BAT File Through Flash

Mar 24, 2010

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.

View 2 Replies

Flash :: Swf File Execute A .exe File On Mac?

Jan 28, 2010

I 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]...

View 1 Replies

Flash :: Bundle Our Template Into One SWC?

Feb 24, 2011

I am building an application template in FlashDevelop/Flash, to be used as the template for all our future projects. In a swc-free world, the template has a bunch of library symbols and a whole package of classes in the /lib/ folder that run the whole thing.

What I would like to do, is package all that up into a single swc, so the team can checkout the latest build of the swc from svn at the start of a project, put it in the /lib/ folder and forget about it.

However, all attempts to do this have failed so far. Is it even possible to put everything into one swc?

View 1 Replies

Flash :: List Of Which Browsers Bundle Runtime 9?

Nov 2, 2009

Is there a list of which browsers bundle flash runtime 9?

View 3 Replies

ActionScript 2.0 :: Does Flash Execute Codes Only In The Keyframe Or It Execute Whatever Is In The Frame Regardless Whether Its A Keyframe Or Not

Mar 16, 2005

When I place some codes in a keyframe, these codes are showing on all the following frames up till the next keyframe with codes. My question is, does Flash execute codes only in the keyframe or it execute whatever is in the frame regardless whether its a keyframe or not?

View 1 Replies

ActionScript 3.0 :: Adobe Flash CS5 Generating SWF File Size More Then Fla File?

Nov 9, 2010

I have developed a video player in adobe flash cs4 and used all vector arts but when I open this fla file in Adobe Flash CS5 and published it, the swf file size more then fla file.
  
Adobe Flash CS4 -
 
Index.fla file size: 523 KB
Index.swf file size: 55 KB

[Code]....

View 2 Replies

ActionScript 3.0 :: Execute A Batch File From This?

Jun 30, 2009

I need to run a batch file which needs to execute a local windows program.

How can I call that batch file insides AS3?

View 2 Replies

ActionScript 2.0 :: How To Execute A JS File In GetURL()

Jan 16, 2009

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 Replies

ActionScript 2.0 :: Execute *.bat File Using GetURL?

Jun 18, 2009

Is 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 Replies

ActionScript 2.0 :: Pop-up Another Window When Execute Fla File

May 2, 2004

I 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 Replies

C :: Execute Language Executable File From Flex?

Aug 14, 2009

is there any way to execute C language executable file from Flex?

View 2 Replies

ActionScript 3.0 :: Execute Public Function Inside .fla File?

Aug 24, 2010

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 Replies

Flash :: Make .swf File In Adobe

Jun 9, 2010

I didnt even make my .swf file in adobe flash.. i made it (embarrassingly in keynote - and exported the file as a .swf file) ok. i'm working on this file for close to a week - yesterday i noticed the file when exported - was 1.4mb ... and today - when i exported it it was 6.9mb!

[Code]...

View 4 Replies

Flash :: Professional - SWF File In Adobe Player

Feb 23, 2010

I've created a flash animation (the backgroung is moving horizontally and vertically according to the movement of the mouse), the problem is that when I open my SWF file in Adobe Flash Player 10.0 the whole animation is shaking. (In Adobe Flash in preview mode it looks fine)

View 2 Replies

Professional :: Import A .swf File In Adobe Flash CS4?

Jun 5, 2010

How can I import a .swf file in Adobe Flash CS4?

View 1 Replies

Professional :: Why Cant Save A Cs4 File As Cs5 In Adobe Flash Cs5

Dec 22, 2010

When ever I try to save a cs4 file as CS5 the adobe flash cs5 will stop responding for no reasons
 
also, some times and only for some files when I save the cs4 file as uncompressed cs5 and then save that uncompressed cs5 to normal cs5 the conversion works and some times not.
 
ofcourse any of the cs5 files cannot be saved as cs3 or cs2 for no reasons..
 
 p/s: microsoft office can be saved to any previous versions..

View 1 Replies

Flash 8 :: Opening Macromedia Fla File In The Adobe?

Aug 26, 2011

I try to open the macromedia flash 8 version flash file in the Adobe Flash CS4. At that time one "Font Mapping" window came. In that Window  "The document "Name" contains one or more fonts currently not available on your system. The text will display and publish with the font mapping below".

View 5 Replies

Flash :: Get A Bytearray From File Stream In Adobe AIR?

May 27, 2010

I read limited (small - 15 - 500 mb files). I need to be able to put all file bytes into one single bytearray. So I have a function:

[Bindable]
public var ba:ByteArray = new ByteArray;
//.... code ....//

[Code]....

But it does not work=( - gives me Error: Error #2030: End of file was encountered.

How to get a full bytearray from stream to use it as normal bytearray?

View 1 Replies

Flash :: Getting Icons For File Extensions In Adobe Air?

Sep 11, 2010

I'm working on an Adobe Air Desktop App ATM. My question is how to get the icon for a given file extension, but without actually loading up a file of such type.

I had the idea to just create a blank file for the extension and then delete it once i have the bitmap for its icon, but that seemed like too much trouble and kinda inefficient.

So for example i want to get the icon associated with a .txt file, or .html file. Is their any way of doing such without having to directly reference and existing file , or create a temporary one as mentioned above?

View 1 Replies

Actionscript :: Extracting From .fla File, Without Adobe Flash

Apr 6, 2011

I'm using MTASC's haXe to compile SWF from AS. Considering I don't have Adobe CS, what are our options to extract the action scripts from any FLA file?

I mean different versions, like CS4, CS5, etc. Converting older versions to CS5

View 1 Replies

Flash :: Use SecureSWF Obfuscation With An Adobe AIR File?

Dec 13, 2011

I am trying to use the SecureSWF demo to package an Adobe AIR application in order to determine if we should buy the full version of SecureSWF for our project. The AIR file was created with the Flash CS5 authoring tool (not Flex).

However, I have not been able to find clear instructions on how to secure an AIR file using the software. I opened the installer (my_installer.air) in the program and it prompted me to find the adt.jar file; however, searching my system I found about 10 of these, relating to different Adobe programs. I chose the one associated with Flash CS5. I selected my certificate and signed it with the correct password. Right now I am just running in test mode to try to get a working file. However, after running secureSWF on the file, it will not install, giving the error "The application could not be installed because the AIR file is damaged. Try obtaining a new AIR file from the application author."

I have a feeling that this has something to do with either the adt.jar file or the certificate not being signed properly. But I have no idea what to do now and we really need to be able to obfuscate this project.

Has anyone used secureSWF with AIR before? Am I doing this wrong (i.e. should I be using the program with the project's swf file instead?)

View 1 Replies

Xml :: Flash - Adobe Flex - Generate File?

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

Flash :: Download And Save File Using Adobe Air?

Mar 24, 2012

i made a flash air application for android and i need to download file and save to application local directory

View 1 Replies

ActionScript 3.0 :: MOUSE_LEAVE - Swf File Will Execute Code When The Mouse Leaves The Swf On Screen

Apr 29, 2010

I 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 Replies

ActionScript 3.0 :: Unable To Execute Swf File Present In Server On Local Machine?

Jul 7, 2009

I 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]

View 1 Replies

ActionScript 2.0 :: Bundle Classes Within The Swf?

Jun 3, 2008

I want to bundle tweener class in my as2 swf so that I dont have to include the classes directory along with the swf. How do I do that?

View 1 Replies

Professional :: Adobe Flash CS4 Quits When Opening Any File

Feb 23, 2010

I hope someone here can help me figure out why my Flash CS4 on a Mac 10.6.2 machine crashes unexpectedly every time I open a file. (I have posted the entire crash log below) The program will open, and even stay open when I choose a .fla file for about 5-10 seconds and then CRASH every time. For what it's worth, all my other design collection programs work fine.I have tried uninstalling and reinstalled the Flash app., but it didn't do anything. I have also tried deleting all preference files and application support files in my user, and the problem persists.Does anyone have any ideas? I have a Flash job to get out and no way to work on it![code]

View 2 Replies







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