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


Similar Posts:


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

Flex :: Dynamically Create Axis Via ActionScript In Adobe Flex Charting Library; Adobe Bug?

Mar 21, 2011

Multiple axis creation via MXML works fine:
http:[url]...

But when I'm trying dynamically create horizontal and vertical axis then I'm getting extra axes. I believe this is Adobe bug. How I can fix this behavior?

<?xml version="1.0" encoding="utf-8"?>
<s:Application
minHeight="600"[code].....

View 2 Replies

ActionScript 3.0 :: Programmatically Detecting Between Adobe Air And Adobe Flex?

Feb 12, 2010

I have some shared code between an Adobe AIR App and an Adobe Flex App.

On one line of this code, the program must behave differently depending on if it is running within the Air runtime, or the Flex runtime.

How can I programmatically detect the difference?

View 1 Replies

Flex :: Execute CMD Commands Using Actionscript?

Aug 19, 2010

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

View 2 Replies

Flex :: Execute An External EXE From AIR Or Java Web Application

Aug 14, 2009

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

Flex :: Can't Execute Query On Geocoding Service

Feb 9, 2010

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

View 2 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

Javascript :: Flex Execute A Function When A Certain Trigger Is Executed?

Oct 9, 2010

I am currently using ExternalInterface to call JS functions from Flex. Is it possible to do the same the other way around: have Flex execute a function when a certain trigger is executed in JS? I want to have a Flash app with buttons in HTML that when pressed call functions inside the Flex app.

View 1 Replies

Flex :: Events - Execute A Function When A App Finishes Execution

Feb 9, 2011

I am developing an lib which tracks user events, like button click, state change, module load and application finish.

My problem is how I can track the application finish event. I googled for it, but I found no good answer.

View 1 Replies

Flex :: Actionscript 3 - ExternalInterface Won't Execute Call() Function?

Sep 3, 2011

For some reason, the ExternalInterface.avaiable shows true, but it won't call alert(). Can anyone shed some light to this problem?

private function checkEI():void {
eiStatus = ExternalInterface.available.toString();
ExternalInterface.call("alert", "hi");

[code].....

View 2 Replies

Flex :: Execute A Callback After A Set Of Asynchronous Service Calls Complete?

Dec 6, 2010

In Flex, I'm making a set of asynchronous calls:

service.method1.send().addResponder(responder1);
service.method2.send().addResponder(responder2);
service.method3.send().addResponder(responder3);

I want to execute some code after all of these service calls have returned (either success or failure, I don't care which). How can I do this?

View 1 Replies

Javascript :: To Execute Flex Cleanup Function When Browser Is Closed By User?

Oct 29, 2009

I have a Flex client application. I need a clean up function to run in Flex when the user closes the browser. I found the following solution on the net, but it only works half-way for me. How could I fix it?CustomEvent triggered, but not executed. >> EventHandler for CustomEvent.SEND_EVENTS is defined by a Mate EventMap. All the handler does is to call an HTTPServiceInvoker. In debug console, I'm able to see the handler and HTTPServiceInvoker being triggered, but neither the resultHandlers nor the faultHandlers were called. I know this event handler has no problem because when I dispatch the same CustomEvent.SEND_EVENTS in a button click handler, it behaves exactly as I expected)Browser seems to wait for cleanUp function to complete before it closes. (all traces were printed before browser closes down)

Code
I added the following into the index.template.html
window.onbeforeunload = clean_up;

[code].....

View 3 Replies

Flex :: Is There Init() Method Like Servlet Init() Only One Time Execute

Jul 25, 2011

Flex having any init(), destroy() method. Like Servlet init()method will run at Application initialize and never call it again if Refresh the Page also.

View 2 Replies

Flex :: Send Html Page With Application Installation Package In Adobe Flex?

Aug 26, 2010

I want to send a html webpage with my application in installation package,is it possible?

View 1 Replies

Flex :: Air - Rich Text Data Can Be Used Offline In An Adobe Flex Application

Nov 12, 2010

I am building an offline [URL] application in Adobe Flex. Can we use [URL] Rich Text Area fields in the offline application? I do not see the field returned in a query.

View 2 Replies

Flex :: Adobe - How Do I Ensure A Flex DataProvider Processes The Data Synchronously?

Nov 12, 2011

I am using an component, and currently have a dataProvider working that is anArrayCollection (have a separate question about how to make this an XML file... but I digress).Variable declaration looks like this:

[Bindable]
private var _dpImageList : ArrayCollection = new ArrayCollection([
{"location" : "path/to/image1.jpg"},

[code]....

View 4 Replies

Flex :: Adobe - Create Smooth Transitions For Drop Down List In Flex For Desktop Applications?

Jan 22, 2012

I have a drop down list for selecting the titles for a person, I want to employ smooth drop down when i select the drop down menu.

View 1 Replies

Flex - Get A Collection Of UIComponents Based On A Stylename In Adobe Flex?

Nov 4, 2009

Does anyone know an Actionscript equivalent of the javascript getElementsByClassName.

What I would like to do is add a custom 'stylename' to various components which I can then use to get a collection of these objects and therefore process their visibility property.

The idea is I want to hide various components based on what roles a logged in user has - I just want to make this flexible by adding an array of rolenames to a custom property or use the stylename property on a Canvas or Panel etc.

View 1 Replies

Flex :: Get HTML Text From Adobe Flex Builder RichTextEditor?

Jan 29, 2010

How to get HTML text from inputed and edited text into Adobe Flex Builder RichTextEditor control? I mean with valid HTML coming from the Flex RichTextEditor component Not Badly formated HTML, with no spaces, with tags not closed! So we have some text edited with RTE a-la

View 2 Replies

Flex :: Adobe Flex - Doing Group By At Client End (DataGrid To Pie Chart)?

Dec 23, 2010

I am in a situation where user gets the cars data from the database based on the selection and displays it in datagrid like below ( for example)

Company Model Year No
GM Chevy 2010 10
GM Chevy 2009 5
GM Pontiac 2010 12
Honda Civic 2009 12

and there will be a link next to datagrid to get Pie chart based on the data displays in the data grid . The pie graph should display grouping by company and the count . I mean for the above example that should give with two pie items , one for GM showing the number of vehicles ( in this case 3 ) and Honda showing the number of vehicles ( in this case 1 ).

I thought of getting it from the database by querying and grouping it .But here the problem is after getting the data above in the datagrid user can able to filter at client end ( By year or model ) and can say get graph . This time that should only display the graph for the data visible in Datagrid .Grouping on database for every operation is becoming expensive. Since we have already data available at client end , is there any way to group it at client ..?

View 2 Replies

Flex :: Passing Data Between Views In Adobe Flex (Actionscript)?

Mar 30, 2011

Ive read a ton of online tutorials about this and cant seem to get a definite answer...

View1.mxml
navigator.pushView(views.view2, {response:"BLAH"});
View2.mxml

[code].....

View 2 Replies

Actionscript 3 :: Flex - Ribbon Component For Adobe Flex Or Aswing?

Apr 1, 2011

Anyone can point me to free or commercial Ribbon component done for Adobe Flex or Aswing? I seen one at some point but for some reason cant find any now. (Please don't mention minddomo, since it has nothing to do do with my question).

View 2 Replies

Flex :: Adobe Flex - Event MetaData Tag And Clone Method?

Jul 22, 2011

overriding clone() while creating custom events?I read in the Flex cookbook that we need just in case we want to redispatch this event. Does this exactly means that when we want event to be bubbled up the display hierarchy , at that time our custom cloned event should be dispatched and not the Event object.

second - whats the need of metadata tag -
[Event(name="modelEvent", type="com.abc.data.model.ModelEvent")]
public class LoginModel extends EventDispatcher
I understand we need to extend EventDispatcher in case we want to dispatch evnet from class.. but In what cases i would need to specify the MetaData TAg

Third is.. If i write -- "dynamic customEventClass extends Event".. Is there any use of Dynamic i can make?

View 3 Replies

Flex :: Upload - Adobe Flex Mobile Selecting Image From Camera Roll Or Taking Picture Restarts The Application

Jan 19, 2012

I have a flex mobile application that I am working on that I am having issues with selecting an image from roll/taking a picture. My application is not tabbed, however one part of it contains a Tabbed View Navigator with tabs across the bottom. Within one of those tabs, I have the ability to upload an image to a webservice that I have created. However, when I select an image or take the picture, it pops back out to the initial splash screen and the application restarts. If I use the component standalone (outside of the tabbed view navigator) it selects the image and uploads without any problem.

[Code]...

View 1 Replies

Flex - Encrypted Video Playback Adobe AIR (Flex)?

Jul 14, 2009

Suppose you have an encrypted video file and the associated AES key. Is it possible to play that video in a flex AIR application without saving the decrypted version of the file? How?

View 3 Replies

Flex :: Use Adobe Flash Or Flex For Action Scripting?

Jun 1, 2010

I am using flex. But i find it hard.Should i use Adobe flash so that i can insert the components by drag and drop

View 1 Replies

Flex - Design Patterns For Adobe Air/Flex Applications?

Jun 2, 2010

I'm going to write an application with the Air/Flex-Framework. I'm looking for Best Practise and general Design Patterns for designing software especially in Air/Flex. I have experience with this framework but never had the pleasure to write a piece of software from scratch.

For instance: I stumbled across lots of software written in Air/Flex with nearly infinity global vars Most of the software I saw was not object-oriented How can I pack the asynchronous method calls nicely?

I'm familiar with general design patterns by gamma. I'm looking more for advise in designing good quality software with Adobe Air/Flex.

View 4 Replies

Flex :: Adobe - Flex Browser Application Initialization?

Sep 3, 2011

to point out some good tutorials on creating applications in flex that are don't have UI's?Actually, it looks like all I really need to know is how to call afunction upon initialization of the flash object. I tried the creationComplete attribute, but it doesn't work in browser.

View 2 Replies







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