Developing Flex Applications on Linux?
As a developer I would like to take advantage of flex to build media-rich applications. I haven't done much with Flash previously so I'm a little ignorant on what's available to me as an Ubuntu Linux user. I know that the Flash Builder applications only support Windows and Mac so I'm wondering if it is possible to develop applications without the use of Flash Builder? Trying to find answers on google didn't help so much because I often bot pointed back to the Adobe site or an article on just Flash Builder. I have already tried installing Flash Builder using Wine but I can never get past the initial install proceedure.
So is there any other compile software I could use? Also, If there is a way to compile the files using the command line I could do this as well.
This may help you.....
http://asantoso.wordpress.com/2008/05/18/flex-3-sdk-command-line-development-with-example- on-linux/
As far as I know, you can compile Flex 3 applications.
Similar Messages
-
How can we develop flex application as 64 bit application?
I develop a 32 bit application through flex and i want to convert as a 64 bit application.
Is there any way to develop?I may be wrong, but isn't the architecture ( x86 , 64bit ) the concern of the VM. That is one of the motivations for having a vm, you don't have to worry about the architecture your application runs on ( for the most part).
-
Develop flex applications with OOP concepts
Hi,
I have gone through the adobe learning path links, and i think i have a good understanding now of flex. However, i think it will be best if i do a couple of sample projects that are done using OOP best practices and also using best pracitices that adobe Flex preaches.
Can anyone recommend me some books that have sample projs that address both OOP and flex best approaches?
Thanks,http://www.amazon.com/Advanced-ActionScript-3-Design-Patterns/dp/0321426568/ref=pd_sim_b_2
this is the best one I read so far.
Bit challenging..
BaBo, -
Adobe flex application development in NWDS
Hi All,
I have to develop an adobe flex application in NWDS.The questions are:
1.What version of NWDS is required
2.How do i integrate adobe flex with NWDS
3.Any tutorial for a sample Adobe flex application development in NWDS
Thanks and Regards
RadhikaHi,
Does it have to be NWDS?
See if this post gives you some answers:
Integrating Flex into Developer Studio
Rgds. -
Hi Friends,
I need to develop a desktop mail client for web based RIA developed in extjs. The air application has to communicate with a flex application hidden inside the web app and get the SMTP Details and send mail using the socket connection.
Till date i have found few plugins and i am testing out each one of them.
1) byteArray SmtpMailer for socket mailing which has login authentication, attachment support.
2) suiggly with halo rich text editor for spell check enabled mail composer.
3) flash network localConnection for communication between web flex hidden inside extjs ria app and air app, The flex application and extjs application communicate using FABridge.js.
4) updateFramework for frequently updating the air app with new features.
Drawbacks i face:
1) ByteArray SmtpMailer works fine but i am unable to find a plugin for SSL encryption support which is required for connecting with gmail SMTP server.
2) The flex web application size grows upto 1.8MB(approx) with all SDK librarys which are part of 4.0.0.10396 SDK, which is thrice as big as the extjs RIA app.
3) The updateFramework for updating a air application throws errors, which is diffcult to troubleshoot or understand by novice like me.Ok, just figured this out. The cert I created was somehow malformed. I simply created a new one with the Flash IDE which worked fine. Any other method of creating the cert that I tried failed, including the keytool command line utility.
-
Can Flex develop Windows Application ? Example or How to ?
Can Flex develop Windows Application ? Example or How to ?
Thx.Take a look at AIR (formerly Apollo) in Adobe Labs.
-
Flex application running under AIR takes a long, long time to start.
I have a flex application which runs on a desktop under AIR. The application has an assets folder with 3,500 mp3 soundclips totalling about 50MB. The problem is, the application takes around 90 seconds to load. I'm sure that AIR is scanning the application folder and doing something with the contents because if I delete the assets folder it loads in about 5 seconds. Does anyone know why AIR/Flex would do this, and why it doesn't exhibit the same problem if I run or debug in Flexbuilder on eclipse? It's making my killer app unusable!
Thanks
PauloWell, I've spent a bit longer looking at this now, and the problem appears to lie with my encrypted local store. The first thing that happens is for the app to read the product key from the ELS. But, it fails (for some unknown reason). So, the app seems to hang there for 90 seconds until it eventually renders the welcome screen. If I remove the assets folder it still fails to read from the ELS, but only takes a couple of seconds to start the welcome screen. This is where the scanning of the application folder seems to come into play, because if I remove the code which reads from the ELS the app starts within 2 seconds whether the asset folder is there or not.
I think the slow startup and the scanning of the assets folder are just symptoms of a different problem, i.e. a problem with the ELS. I don't have the same problem with my development environment though - it's only when I test deploy the application.
Thanks for your help on this problem EgorKDie. I think I should be able to resolve it once I can sort out why the ELS is being awkward. -
How to Call a AIR application from Flex Application
Hi,
I have Used AIR (Desktop application) in Flex Builder to Upload a File from a local path and save it it a server path.
I need to Call this AIR(Desktop application) from my Flex Application.... i.e
I am using a link button to send a event using Script and Forward that Desktop application from Flex Screen
But it doesnot load that (Desktop application) in Screen. Only Balnk screen is loaded from path
Here is the code
AIR(Desktop application)
<?xml version="1.0" encoding="utf-8"?><mx:WindowedApplication
xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="openBrowseWindow();">
<mx:HTTPService id="urlpath" showBusyCursor="true" useProxy="false" method="
POST" url="http://localhost:8080/nat/FlexAction.do?method=UrlPath"result="pathresult(event)"
fault="faultHandler(event)"
>
</mx:HTTPService>
<mx:Script>
<![CDATA[
import mx.events.FileEvent;
import mx.rpc.events.ResultEvent;
import mx.rpc.events.FaultEvent;
import mx.utils.ObjectUtil;
import mx.controls.Alert;
private
var openFile:File = new File()
private
function openBrowseWindow():void{openFile.addEventListener(Event.SELECT, onOpenFileComplete);
openFile.addEventListener(Event.OPEN, load);
openFile.browse();
private
function load():void{Alert.show(
"load");
var imageTypes:FileFilter = new FileFilter("Images (*.jpg, *.jpeg, *.gif, *.png)", "*.jpg; *.jpeg; *.gif; *.png");
//var textTypes:FileFilter = new FileFilter("Text Files (*.txt, *.rtf)", "*.txt; *.rtf");
var allTypes:Array = new Array(imageTypes);openFile.browse(allTypes);
private
function faultHandler(event:FaultEvent):void {
//Alert.show("Fault")Alert.show(ObjectUtil.toString(event.fault));
private
function pathresult(event:ResultEvent):void{Alert.show(
"res")
//Alert.show(ObjectUtil.toString(event.result));}private
function onOpenFileComplete(event:Event):void{
//mx.controls.Alert.show("event: "+event.target.nativePath +"UR!!!");
var pPath = event.target.nativePath;
var parameters:Object = {FlexActionType:"PATH",path:pPath};
// Alert.show("Image Selected from Path : "+pPath); urlpath.send(parameters);
//Alert.show("Passed.."+parameters);}
]]>
</mx:Script>
<mx:Button click="openBrowseWindow();onOpenFileComplete(event)" name="Upload" label="Upload" x="120.5" y="10"/>
Here is Mxml Code for Flex Application
<?xml version="1.0" encoding="utf-8"?><mx:Application
xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns="http://ns.adobe.com/air/application/1.0.M4" >
<mx:Script>
<![CDATA[
import mx.controls.Alert;
private function Upload():void{
// CursorManager.setBusyCursor();
//var url:String = "HomeAction.do?method=onLoad";
//var url:String = "assets/Air.swf";
var url1:URLRequest = new URLRequest("assets/Air.swf");navigateToURL(url1,
"_self");
// CursorManager.removeBusyCursor(); }
]]>
</mx:Script>
<mx:LinkButton id="up" click="Upload()" x="295" y="215" label="UpLoad"/>
In this code i forward using s url to Open tat Desktop application but a blank screen appears with out the proper output...
Please Help me in this to forward AIR from Flex Screen..
Thanks in Advance
With Regards
Gopinath.A
Software Developer
First Internet Systems Pvt. Ltd.,
Chennaitry this
http://www.leonardofranca.com/index.php/2009/09/17/launching-an-installed-air-application- from-the-browser/
regards
Leonardo França
Adobe Certified Expert Flex 3 with AIR
Adobe Certified Expert Rich Internet Application Specialist v1.0
Adobe Certified Expert Flash CS3 Professional
Certified Professional Adobe Flex 2 Developer
Adobe Certified Professional Flash MX 2004 Developer
http://www.leonardofranca.com
http://twitter/leofederal
Manager AUGDF - Adobe User Group do Distrito Federal
http://www.augdf.com.br
http://twitter/augdf -
Flex Application does not work outside of the default dir
Hi,
I have developed a flex application which calls a http
service and displays the contents in a text area.
This works fine when I execute it from the flex builder or
from the directory where the flex builder stores it.
If I copy the files to any other dir or the server, after
making http call no result is displayed in the text area.
Is there any thing else i need to do other building
application in flex builder for deployment.
Please help,
Thanks in advance,
Chintan"rtalton" <[email protected]> wrote in
message
news:gjlmvm$hrv$[email protected]..
> Stubborn, aren't we? Ok, let me try again:
> You only use "loadPolicyFile" to load a non-default
policy file. remove
> that
> line from your code.
> Also you do not need this line:
> flash.system.Security.allowDomain("*");
> ...in your code. Remove it. This is used when you have
two SWFs on two
> different servers. You do not.
>
> Again, read this page:
>
>
http://livedocs.adobe.com/flex/3/html/help.html?content=deployingoverview_12.htm
> l
>
> Your answer is there.
> Hint: all you need is to *properly* deploy a
cross-domain policy file.
> Really.
> I'm being very honest here. Have I ever lied to you
before? No, I haven't.
> So
> you're buying the first round tonight after work, ok?
Some people will do anything for a date ;-) -
How can I tell if a sound is playing in Flex application?
Hi All,
Simple question but I can't seem to find an answer to. How can I tell if my Flex application is currently playing sounds from a SWF file?
What I'm trying to do is load a SWF file dynamically into my Flex app. However, these SWF files have sounds in them and they don't seem to stop even after I unload the SWF files.
I'm trying to get around this by stopping all sounds using the flash.media.SoundMixer.stopAll() but it's getting called too early, before the SWF files are fully loaded and rendered in the application.
I searched around and it seems like many people are having issues with this. Maybe someone can help me find a solution.
Thanks,
ColinIn player 10 you can use unloadAndStop()
Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs.adobe.com/aharui -
Error while loading a swf created in flash cs4, inside a flex application
Hi there,
I have created a rotating logo in flash cs4 using motion presets, named logoRotar.swf. I have used this inside my flex application:
<mx:SWFLoader width="33.33%" height="100%" source="assets/logoRotar.swf">
When I execute the flex application, I get this runtime error message:
VerifyError: Error #1014: Class flash.geom::Matrix3D could not be found.
at global$init()
at fl.motion::AnimatorFactory3D/getNewAnimator()
at fl.motion::AnimatorFactoryBase/addTargetInfo()
at logoRotar_fla::MainTimeline()
I also tried adding import flash.geom.*; statement in my flex application, I still get the same message.
Flash player 10,0,22,87 is running in my browser.
Please help me out....
Cheers!
DeepakGet Flex 3.3 and use -target-player=10
Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs.adobe.com/aharui -
Hi Friends,
I face some mouse issues with the later versions of the Firefox (6 and above). When a flex application is executed in a Firefox, It runs on the flash player in the browser. While getting the mouse coordinates, flash player is returning some bad coordinates. Please respond to this as soon as possibleA good place to ask advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.<br />
The helpers at that forum are more knowledgeable about web development issues.<br />
You need to register at the mozillaZine forum site in order to post at that forum.<br />
See http://forums.mozillazine.org/viewforum.php?f=25 -
Getting error while running application on linux
Hello, I developed an application on windows and it works great on windows. Than I changed my OS to linux(ubuntu 64 bit) and I setup all the environment with following this article : http://docs.oracle.com/javafx/2.0/release_notes_linux/jfxpub-release_notes_linux.htm. On compile time there is not any error but when I run it I got this error.
# A fatal error has been detected by the Java Runtime Environment:
# SIGSEGV (0xb) at pc=0xaf15ded4, pid=2992, tid=2933234544
# JRE version: 7.0_03-b04
# Java VM: Java HotSpot(TM) Server VM (22.1-b02 mixed mode linux-x86 )
# Problematic frame:
# C [libcairo.so.2+0x16ed4] cairo_set_source_surface+0x34
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
# An error report file with more information is saved as:
# /home/sdemirci/workspace_atk/Gadget-Client/hs_err_pid2992.log
(java:2992): Gdk-CRITICAL **: IA__gdk_cairo_create: assertion `GDK_IS_DRAWABLE (drawable)' failed
(java:2992): GLib-GObject-CRITICAL **: g_object_get_data: assertion `G_IS_OBJECT (object)' failed
(java:2992): GLib-GObject-CRITICAL **: g_object_set_data: assertion `G_IS_OBJECT (object)' failed
(java:2992): GLib-GObject-CRITICAL **: g_object_get_data: assertion `G_IS_OBJECT (object)' failed
(java:2992): GLib-GObject-CRITICAL **: g_object_get_data: assertion `G_IS_OBJECT (object)' failed
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#I searched this problem and it seems like the problem comes from system(kernel or missing some library such as c ...) but I couldn' t solve it. Do you have any ideas?Yes , it does. I might be wrong but, I think the problem comes from stage initalization. Because I check the logs and every thing is ok. My environment is:
OS: ubuntu 11.10 - 64 bit
jdk: jdk1.7.0_03 - 32bit
javafx: JavaFX 2.1 build b17
Thanks
sdemirci
Edited by: sdemirci on 20.Mar.2012 07:19 -
Getting GTK error while running javaFX application on linux
I developed an JavaFX application that works fine on Windows. So, I tried to run this same application on Linux (ubuntu x86) and it is not working. I setup all the environment with following this article : http://docs.oracle.com/javafx/2.0/release_notes_linux/jfxpub-release_notes_linux.htm. The Sample JavaFX applications available at http://www.oracle.com/technetwork/java/javafx/downloads/devpreview-1429449.html work great on Linux. But when I run my application, I got this error:
java -jar prototipoGui.jar
Exception in thread "main" java.lang.RuntimeException: Application launch error
at com.sun.javafx.application.LauncherImpl$1.run(LauncherImpl.java:122)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.UnsatisfiedLinkError: com.sun.glass.ui.gtk.GtkApplication._invokeLater(Ljava/lang/Runnable;)V
at com.sun.glass.ui.gtk.GtkApplication._invokeLater(Native Method)
at com.sun.glass.ui.Application.invokeLater(Application.java:336)
at com.sun.javafx.tk.quantum.QuantumToolkit.defer(QuantumToolkit.java:617)
at com.sun.javafx.application.PlatformImpl.runLater(PlatformImpl.java:138)
at com.sun.javafx.application.PlatformImpl.runAndWait(PlatformImpl.java:171)
at com.sun.javafx.application.PlatformImpl.tkExit(PlatformImpl.java:264)
at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:417)
at com.sun.javafx.application.LauncherImpl.access$000(LauncherImpl.java:47)
at com.sun.javafx.application.LauncherImpl$1.run(LauncherImpl.java:115)
... 1 moreI get the same message, when running my application in stand alone.
May be there is a problem when running in aa KDE environment.
But I developed my app in Eclipse under KDE4. If the app is started by IDE it runs. -
Spring Flex application on weblogic 10.3
I have developed an Spring-Flex application. I did the necessary changes to be done in web.xml, spring-config.xml and services-config.xml. The application is working fine on Tomcat server. But when tried deploying .war of the application on Weblogic 10.3, the navigation of the application is failing. Even the messagebroker defined on startup page if not receiving.
Is there any server specific changes need to be done on Weblogic before deploying the .war file?
Please provide the pointers.Hi,
Did you configure your application module to use a JDBC data source? To do this, right-click the app module in the navigator, select Configurations and in the dialog that comes up change the connection type to JDBC Data Source and enter your data source name - which should be the same as the data source you created on the weblogic server.
Also, I do suggest you create an EAR file - this is what we've tested and certified with. You can find more details in the deployment chapter of the fusion developer's guide: http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/deployment_topics.htm#CHDJJDDG.
Hope this helps
Blaise
Maybe you are looking for
-
System Refresh Process of SAP Web AS 6.20 in BW env
We are in the process to refresh our BQA system from the offline backup copy of BPR(Production server). We did it number of times in 4.6 R/3 server successfully in past. We used the oracle backup/restore method for refresh process in R/3. The same or
-
My client wants to create subledger (he is in the opinion that if One GL accoount is plitted / classified then it is treated as Sub ledger) to split the Amount in GL Account employee wise, by creating Emplopyee vendor master. I heared Document Splitt
-
How to make a Vertical Total of a multilline item?
Hello, I have a block that contains 12 numeric multiline items. I would like to make a vertical total for each item. I tried to make a reference item, it didn't work. i tried also to make it by doing a Sum of my item, it didn't work neither. Could so
-
Help printing wirelessly from MacBook Pro to Canon MP640?
I can't print from my new MacBook Pro (running 10.9.1) to my Canon MP640. I installed the latest driver (10.84.2.0) correctly, I think, and the printer has WiFi connection and I can print via a PC on my wireless network, but MacBook doesn't see it. A
-
TA BP - Exit to filter BPTAXTYPE in table DFKKBPTAXNUM (OR bupt)
Hi, any idea how to validate user input for the taxtype? Is there any user-exit oder badi. System ERP and CRM. Transaction BP -> "Identification" -> Taxtype. Or any Idea how to check via TA: BUPT Thanx in advance? T