Flex :: Loading SWC / SWZ's At Runtime Within A Air 2 Desktop Application?

Sep 23, 2010

Has anyone got any experience will loading SWC / SWZ's at runtime within a Flex 4 / Air 2 desktop application?The very rough idea would be to have a desktop Air app, which is able to "download" additional modules (eg, a SWZ/RSL representing a form) and load these at runtime?

Imagine the App is configured using an XML file obtained over the net. When this has instruction to get a new module (SWZ/RSL), the app will download the module to its App Storage folder, and instanciate it at runtime?The Flex Manual seems to indicate this is possible, but is talking web rather than desktop http:[url]....

View 2 Replies


Similar Posts:


Flex :: Which Is Better For Desktop Application

Jan 4, 2010

i'm new to creating desktop applications. I've a working site in php with mysql support. I want to convert this site into a desktop application. Is Adobe AIR or Adobe Flex better?can i use php as such in both AIR and Flex? or should i convert them to xml or something which it uses?

View 3 Replies

Java :: Can Flex Be Used For A Desktop Application

Nov 2, 2010

Can Flex be used for a desktop application whose business logic is written using Java? Everything I've read about flex uses a remoting or http protocol to communicate with the backend via a J2EE server, so I'm not sure how that would work for a desktop app (unless an embedded j2ee server was running in the app).

View 4 Replies

Flex :: What Technology For A Rich UI Desktop Application?

Apr 6, 2010

For an internship, I'm gonna have to develop a desktop application. The focus is creating a rich UI ( cool effects, sound etc ). Which tech should I go with ?

- Flash ? ( in this case, shoud I go with a flex project ? AIR ? what is the gain between this and a simple raw flash project )
- C#/Silverlight ?

View 5 Replies

Flex :: Build A Desktop Application With Builder?

Jan 18, 2011

I recently got flex builder 3, and it seems to be a really cool IDE.

View 4 Replies

Java :: Flex GUI Compatibility For Desktop Application?

Feb 10, 2012

i want to know if it is possible to create GUI for java desktop based application in Adobe FLEX.

or any other powerful framework to make rich GUI interfaces for Java desktop applications.

View 1 Replies

Flex :: What Technology For A Rich UI Desktop Application

Jun 28, 2010

For an internship, I'm gonna have to develop a desktop application. The focus is creating a rich UI ( cool effects, sound etc ). Which tech should I go with ?- Flash ? ( in this case, shoud I go with a flex project ? AIR ? what is the gain between this and a simple raw flash project )

View 13 Replies

Actionscript :: Make A Video Full Screen In Flex Desktop Application?

Aug 18, 2011

I am playing a flv video using the videoplayer class of flex. (all the properties of it are being set at runtime)I want to make the video fullscreen without clicking on the fullscreen button i.e. through programming.

View 1 Replies

Determine When Application Is Running As A Mobile / Desktop Air Application?

Dec 6, 2011

How can I find out what the current application type is? i.e. whether it's running on a mobile device or as a desktop Air application?[code]...

View 4 Replies

Flex :: Prevent Application From Being Resized At Runtime?

Sep 14, 2010

From what I can gather, the resize property of a Flex application is set in the XML config file[code]...

However, if I set this attribute to true, is there a way to turn this off dynamically at runtime? For example, my application has two view modes - mini and maxi. I would like to prevent the end user from being able to resize the application when in mini mode. I tried prevent the resize using the following code but it does not seem to work[code]...

View 5 Replies

Flex :: Installing AIR Runtime And AIR Application In Own Click?

Jan 23, 2012

I have AIR application that i have created. One of my customers wants me to give him a CD that will automatically install the application with computer that has no AIR runtime installed.

How can i create an automatic installer that can install the AIR runtime and my AIR application easily?

View 1 Replies

Flex :: Advanceddatagrid - Runtime Error When Compiling Application With ANT?

Sep 18, 2009

I'm using a licensed version of Flex Builder Pro to develop an application.I compiled the swc and generated swf successfully using ANT tasks.It contains an Advanced Data Grid also. When this application is accessed, I get a runtime error and it fails to load.

TypeError: Error #1007: Instantiation attempted on a non-constructor.
at mx.controls::AdvancedDataGridBaseEx/getSeparator()
at mx.controls::AdvancedDataGridBaseEx/createHeaderSeparators()

[code].....

View 3 Replies

Css :: Load And Apply A Stylesheet At Runtime In A Flex Application?

May 26, 2010

I'd like to load CSS stylesheets from a URL and apply them to my Flex 3 application at runtime.

View 2 Replies

Android :: Packaging Flash Builder 4.6 Mobile App As A Desktop App (with Air Runtime)?

Feb 23, 2012

I have this application that is basically the ubiqutous page turning component you can find online, but modified for mobile. It's for kid's storybooks. It's a mobile flex application in FlashBuilder 4.6. When I export release build for my mobile project, I see an option for desktop .air packaging rather than mobile. Works and looks great....but you can't sell a .air file on Mac App Store. I want to bundle the air runtime to create a .app, which hopefully I can get on the app store. However, this option is not available in a mobile project. I've tried figuring it out via commandline...

[Code]...

View 1 Replies

Java :: Writing A Desktop Application?

Oct 15, 2009

I am writing a desktop application and trying to decide between using AIR (FLex) or Java.Some of the requirements for the application are: needing to securely connect to webservices and JMShave a very interactive UI (lots oflittle and big features)displaying videoCommunicate with a C++ applicationTo implement the web services and JMS for Flex we were thinking of using Merapi to communicate with a Java application. Does this mean we should probably go with Java or does the better graphics capabilities of Flex still make it a better choice?

View 5 Replies

Actionscript :: Dragging From Desktop To Air Application?

Jan 3, 2012

I have been looking all over the internet and I can't find any good (or recent) example from a air application where an image (for example) is dragged from the desktop in the application.

The problem is that flashbuilder gives errors on:

import flash.desktop.DragActions;
import flash.desktop.TransferableData;
import flash.desktop.TransferableFormats;
import flash.desktop.DragManager;

(and this are only the errors at the import section)I know this last one can be replaced by mx.managers.DragManager, but this is another class since than I get errors on "DragManager.acceptDragDrop" for example...

View 1 Replies

ActionScript 3.0 :: Flash Player Within Desktop Application

Feb 10, 2012

I am trying to work out an approach to developing a desktop application that would play movies, games and various flash material such as flash games and flash flip books. The movies will be in both video format and swf format, and will need to be compressed and encrypted for transmission to users and decompressed/decrypted by our player so as not be viewable by other players. The installer would be platform / OS dependant.

The player / user interface would need to be written in a 'portable' language so it can be cross-complied to different platforms ( Windows, Linux/Android, Mac, Iphone/Ipad, ... ) If this is not possible than atleast it should work on the PC and MAC. The idea here is to ideally maintain one code base so the client will experience the same interface on each platform we support.

My questions are-
What would be the best approach to develop these applications?
Is it possible to acquire public / open source code where much of the work has already been done and then add my code to it?
If open source code is available where could I get it from?

View 1 Replies

Data Integration :: Desktop Application Using Flash

Dec 3, 2007

I want to create a Desktop Application using Flash. how to create a executable Flash Application and how to connect the flash with database in a desktop Application.

View 1 Replies

ActionScript 3.0 :: Playing Video In Desktop Application?

Feb 25, 2011

I'm trying to play two H.264 encoded videos (.mov) within an AS3 desktop application. I have tried publishing both Air and Projector but both are having (different) problems with playback. When testing the swfs within Flash they both work fine.I'm using a simple NetStream function to play the videos from a local directory. Like I said they both run fine within Flash, so I feel like I'm missing something obvious, but have found it difficult to find documentation on streaming locally.

The Air app works best, but can't seem to play the second video. (I also have been having awful trouble getting around security issues of Air as I'm using LocalConnection in another part of the app, so would prefer not to use it).The projector starts playing both videos but very quickly starts to stutter and choke, and eventually freezes the entire app.The Adobe documentation says that it is possible to use NetStream locally, but maybe this isn't the case?

View 2 Replies

Java :: Trigger A Desktop Application From Website?

Jul 26, 2010

I need to do click a button within the admin side of my external website and cause it to trigger an application within my local workstation (with parameters based on button). I have full control of the server, PHP, etc. I can also install any application on my workstation. What is the best way to do this? Adobe AIR/Flash? Java?

View 4 Replies

Php :: Building A Login System For The Desktop Application?

Oct 15, 2010

I'm currently in the planning/early building phase of a desktop flex application that will be communicating to a Zend Application on a web server.The flex app will basically be like a layout/view in terms of the MVC pattern, it will make requests to various controller actions and display the data returned in a meaningful way, and post data that will update various data in the database on the server. Basically what I'm wondering is what the best way is to go about building a login system for the desktop application.I can't use the regular channels that you would if your users were accessing the application via a browser, so I was thinking I would do this:

Flex app posts login details (email, password) to a login action.The login action uses Zend Auth to check if the details are valid.The login action creates a unique hash (and stores it in the db somewhere along with the user's id) and returns a json object containing the hash along with the user's id to the flex app.Whenever the flex app makes requests to any action in the web app, it also sends along the user's id and the unique hash so the web app can verify the user.

View 2 Replies

Flash :: Why Can't Log A User Out Of Facebook In An AIR Desktop Application

Sep 23, 2011

I'm building an AIR desktop app with facebook support using Adobe Flash builder. So far it's working alright, except for one detail, once a user logs in, that session stays open, even if the logout button is pressed. My logout code look like so:

protected function logout():void {
FacebookDesktop.logout(handleLogout, APP_ORIGIN);
}

I set APP_ORIGIN to "[URL]". I checked Adobe's documentation and they say: appOrigin:String (default = null) ” (Optional) The site url specified for your app. Required for clearing html window cookie. But I don't know what that means, what is the 'site url specified by my app'? Where do I get it? Sorry if this is a noob question.

View 1 Replies

ActionScript 3.0 :: Flash Desktop Application With Database?

Nov 2, 2010

I want to know if I can make a flash desktop application Depends on mySQL database or any database , but without need to php code or server , I want the application to work as a desktop application.

View 2 Replies

ActionScript 3.0 :: Signal From A Desktop Lash Application To The COM Port?

Nov 13, 2008

How do I script to connect /send a signal to the COM port of the PC from a Desktop Flash application. The Signals can be variables such as "1/2/3/4" . The signals will be send on a corresponding click in the flash application. For eg: if I click button "A" in the Flash application, it sends a signal "1" to the COM Port. If I click the Button"B", it send the signal"2" to the COM Port.

View 1 Replies

Professional :: Copy A PDF To The Users Desktop (through A Flash Application.exe)

Jun 10, 2011

I have a flash application. One of the options is to copy a pdf onto the users desktop, but I can not seem to get it to work. I am writing a flash application that sends "fscommands" out to batch files.  This is what my batch file looks like:---------------------------------------------------------------------- ---------------------------------------@ echo off copy ../Application/pdf/Ebook.pdf %userprofile%Desktop exit---------------------------------------------------------------------- -----------------------My intent is to copy the specified file to the user's desktop.  So far it does not function.

View 1 Replies

ActionScript 3.0 :: Back Button Functionality In Desktop Application

Mar 1, 2012

I need a back button functionality in my Desktop application in flash, in my app there is lots of page including home page, I am able to go back at one level but how can I do this at number of level, What logic I should implement to maintain the back page at number of level.

View 2 Replies

JQuery :: Maintaining Adobe Air Desktop Application With XML Document

Jan 31, 2010

I am going to be utilizing a flash/jquery powered gallery on a webpage that is maintained and updated with an xml document. The xml data is used to add and sort images into a grid of small thumbnail images. i will customize this component so that when the user rolls over a thumbnail it will trigger jquery to replace a div using hide/show. My employer would like to try to create an adobe air desktop widget that will mirror the content of this gallery so that as entries are added to the site users can access the content automatically via the desktop. I was thinking there may be a way to utilize the same xml document to maintain the app as well as the gallery. As there is a fairly tight turn around on this project, i was wondering if anyone could confirm that adobe air apps can be maintained in this way, or how to approach this particular client request.

View 1 Replies

Xml :: HTML In Desktop Application Load A Page With An Iframe?

Nov 7, 2011

I have a mx:html component in a AIR Desktop Application that load an external webpage into it...this webpage has an iframe in it and the iframe load (obviously) another page...I can't figure out how to get the code of the iframe...If I try to get the webpage content I only retrive the start page like:

File webpage.html

<html>
....
<iframe src="http://host/framepage.html">content default</iframe>
....

[code]...

It's like as the second page is not loaded, but it's actually be loaded and rendered in the browser window (i tried also using a button so I can delay the search for the iframe content.

View 1 Replies

AS :: Flex :: Dynamic Loading And Compilation Of MXML / At Runtime

Jan 14, 2010

I am trying to build an application which has a flex front-end and a php back-end. I am struggling to do something with this application which I couldn't figure out a way to do. I would want my flex application to show a view based on an MXML it recieves from the server as a response to some interaction in the flex application. for example, lets say there are two buttons on the current view and if i press the first button, it will load one mxml/as3 from the server, and when i click the other, it will load a different mxml. How do you think i can tackle this situation? how to do this as i've been banging my head on the wall trying to figure out a way.

View 3 Replies

Flex :: Runtime Loading Of Localized Framework Files?

Jun 8, 2011

According to the Adobe asdocs, Flex framework files are supposed to be able to be loaded at runtime. These localized framework files, the ones that exist at (on windows) C:Program Files (x86)AdobeAdobe Flash Builder 4.5sdks4.5.0frameworkslocale, are responsible for items such as button text on Alert Dialogs, and a host of other controls. My expectation is that once these framework files are loaded I would see these resources available in my Flex app.

I've set up my project as follows:

MyProject
-src
-Flex4.5
-Referenced Libraries

[code]....

Now the asdocs state that in order to do this, you have to set the compiler settings to read

-locale=en_US,da_DK,de_DE,es_ES,fi_FI,fr_FR,it_IT,ja_JP,ko_KR,nb_NO,nl_NL,pt_BR,ru_RU,sv_SE,zh_CN,zh_TW -allow-source-path-overlap=true -source-path=locale/{locale}

which I have done.My Build Path Libraries for Flex 4.5 - C:Program Files (x86)AdobeAdobe Flash Builder 4.5sdks4.5.0 are set to be Runtime Shared library (of note, the {locale} subfolder says "Merged into code")

But when I change the language in the browser, I'm not seeing any of the framework resources.Also, when I build my project, I don't see any indication of the locale-oriented resource files in the bin-release. Since we only deploy the contents of the bin-release folder (and not the entire project), how is this supposed to work?I am also seeing .swz files in my bin-release (and I know these arent the localized framework resources).

Does anyone have any experience with Runtime Framework Localization?? What am I doing wrong? My expectation is that once I build my project (with the framework resources externalized) that the app would be able to load those resources, but this isn't happening and I am not interested in compiling a different version of my app for all of the locales I support.

View 1 Replies







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