Running Flex app in Linux

Hi all,
I've got a strange problem on Linux (Ubuntu 8 running in
VMware): I've got a quite complex Flex application running in FP
10.0.12.36 where (in both Opera and Firefox)
- the "Settings" link in the FP context menu is greyed out
- the Settings popup does not appear when the Flex app tries
to save more data in a SharedObject than currently allowed for this
domain
- the Settings popup window does not appear when deliberately
triggered (via Security.showSettings)
With another simple Flex test application running in the same
OS as the same user in the same browsers, all these problems don't
appear. The only difference which I can see at the moment (apart
from the complexity of the application which of course shouldn't
play a role) is that the complex application is compiled from an
Ant task whereas the simple app is created and compiled inside Flex
builder.
I did not deliberately set anything in the Ant task which
could avoid the "settings" issue to work properly. In the Flex
compiler options I also can't see anything related to these
settings.
Does anyone have had a similar problem? Any clues or
suggestions?
btw: here is the Ant task:
<target name="compile_annex_flex_files"
depends="checkFlexHome">
<echo>Compile: start</echo>
<echo>FLEX_HOME: ${FLEX_HOME}</echo>
<mxmlc file="${ANNEX_SOURCES_DIR}/AnnexInterface.mxml"
output="${ANNEX_OUTPUT_DIR}/AnnexInterface.swf"
locale="en_US" debug="false" use-network="true"
static-rsls="false">
<load-config
filename="${FLEX_HOME}/frameworks/flex-config.xml"/>
<runtime-shared-library-path
path-element="${FLEX_HOME}/frameworks/libs/framework.swc">
<url
rsl-url="${SERVER_PATH}/framework_${FLEX_BUILD}.swz"/>
<url
rsl-url="${SERVER_PATH}/framework_${FLEX_BUILD}.swf"/>
</runtime-shared-library-path>
<compiler.source-path path-element="src"/>
<compiler.library-path dir="${basedir}" append="true">
<include name="lib/scrollbar.swc"/>
</compiler.library-path>
</mxmlc>
<echo>Compile: end</echo>
</target>
Thanks,
Thomas

You must use the 3.4.1 SDK that is provided on LiveCycle DVD or from an installation of Workbench (See the Customizing LiveCycle Workspace ES2 at at  http://help.adobe.com/en_US/livecycle/9.0/customizeworkspaceui.pdf or the Creating Flex applications enabled for LiveCycle Workspace ES2 guide http://help.adobe.com/en_US/livecycle/9.0/createflexapps.pdf guide).
There are functions in the SwfConnector component that allows you to communicate with the IFrame but as far as I know, there are no APIs that are exposed.
I'll defer to others if they know about it.
Hope that helps!

Similar Messages

  • Keyboard Problem while running Swing App on LINUX

    Hi All,
    We have a Swing based Application running on Windows Platform. We need to run the Application on LINUX. The Application does not have any problem and runs without problems for a few minutes but after that the keyboard stops to respond inside the application. Keyboard runs fine outside the application but no key events are recognized inside the application. Mouse is working fine even after the keyboard stops responding.
    Key Points:
    �     The keyboard is a PS/2 keyboard.
    �     Read Hat Fedora 5.0 is being used.
    �     The problems occur on both KDE and GNONE.
    �     The Java Version is jdk1.5.0_09
    The application is data entry application using EJB at server side. The client UI has lot of JTables and Desktop Panes/ Internal Frames. User use ctrl+tab, ctrl+shift+tab, tab, shift+tab, and other hot keys to navigate between Components. Listeners on keyboard Focus Owner are also used. We are unable to diagnose the problem because of the undeterminable nature of the problem. The problem occurs at anytime and does not occur on any special key/ combinations press.
    Thanks and Regards,
    Nishant Saini
    http://www.simplyjava.com

    I've just installed the JDK 1.4 on my debian box. I
    can compile and run a basic Hello World app using
    System.println, but when I try to run a simple swing
    app, I get an error like:
    Exception in thread "main"
    java.lang.NoClassDefFoundError
    at java.lang.Class.forName0(Native Method)
    at java.lang.... etc, etc.
    It goes on with about 30 different classes. It
    compiles fine, with no errors, but when it comes time
    to run, that's what I get. This is what I have in my
    .bash_profile as far as environment variables go:
    export JAVA_HOME="/usr/local/j2sdk1.4.1_01"
    export PATH="$JAVA_HOME/BIN:$PATH"
    export
    CLASSPATH="$JAVA_HOME/jre/lib/:$JAVA_HOME/lib:."The code works fine in Windows, so unless there's
    something platform-specific, I don't think there's a
    problem there. I've checked to make sure I'm not
    running kaffe by accident and I'm definitely running
    the right java and javac. I'm out of ideas. Any
    suggestions would be greatly appreciated.
    -dudley
    I may just be crazy, but your PATH looks a little screwy to me. I was under the impression that the standard java installation has its executables in the 'bin' directory, not the 'BIN' directory. Unless Debian has fallen to the evil empire, then I'm fairly sure file names are case-sensitive. I don't know if that will fix your problem though. Do you compile from the command line, or do you use an IDE???

  • Run Flex App in Frame?

    1. Can I run a flex app in a frame? Like a nav bar at the top
    of an html page for example.
    2. Can the flex app register mouse clicks from an html frame
    that it is not running in?
    3. Can anyone point me to references on these subjects?
    Thank you very much.

    Yes you should be able to. I've personally run it in an
    iframe.
    You can use javascript and ExternalInterface to possibly have
    some message from the html frame passed to the navbar. However,
    ExternalInterface has issues with having your page open in multiple
    tabs/windows, so you may need to randomize the id of the navbar if
    that is a concern.
    Just google ExternalInterface, for the most part.

  • Could not run flex app in debug mode

    All of a sudden I am having issue running my flex app on debug mode that was running fine before. When ever I launch my app on debug mode, I get a popup information that says,
    "This file you chose is not inside a project, so many Flex Builder features will be disabled."
    I asks me to create a new flex project. I have tried to close the FB and relaunch it, restarted my machine couple of times, cleared the browser cache. nothing seem to work?
    What is the issue with this? I have never come across this issue before. Any help will be highly appreciated. Thanks.
    KM

    Try asking on the Flash Builder forum

  • What is necessary for a web host in order to run Flex apps? How to configure?

    I did find a few past postings on the forum but none seemed
    to address the problem.
    Can somebody who had hands on experience share his/her
    knowledge about a migrating a Flex application to production
    environment? Do I need to modify any settings? When I transfer the
    bin folder contents the UI works fine but the data connection
    throws errors.
    Does the web host need to have any specific software
    installed? More specifically, my host has CF 7 but do not have Flex
    data services installed. All I use is RemoteObject so I guess this
    can be done without Flex data services. Is this correct?
    Finally, if you can refer me to a configuration guide that
    the web host would need to follow, it would be greatly appreciated.
    Thanks for your time in advance.
    Emre

    Thanks for the response, here is the error message that I am
    getting.
    (mx.rpc::Fault)#0
    errorID = 0
    faultCode = "Server.Processing"
    faultDetail = (null)
    faultString = "Permission denied"
    message = "faultCode:Server.Processing
    faultString:'Permission denied' faultDetail:'null'"
    name = "Error"
    rootCause = (Object)#1
    cause = (null)
    localizedMessage = "Permission denied"
    message = "Permission denied"
    Obviously some data connection is failing due to permissions.
    My host, however, does not know what permisson is causing it and
    what the fix would be. Thanks for the input in advance

  • Run flex app on system startup

    Hi all
    I have developed an app .Now what i want is that when ever the PC start the installed air app to start as the system starts..
    Like the way yahoo messenger starts on system start up i want to implement that functionality ..can anybody tell me what i have to do in my app to implement this..
    Thanks

    Thanks paul it worked
    private function RunAtStartUp():void
                    try
                        nativeApplication.startAtLogin=true;
                    catch(e:Error)
                    trace('error =' + e.message.toString());
    is there any need to call this function in init()  of my app ?
    right now i m not calling it in init()..js created a seperate function without calling it in any other function..any it launches the app whn i restart my pc..

  • I have a production mobile Flex app that uses RemoteObject calls for all data access, and it's working well, except for a new remote call I just added that only fails when running with a release build.  The same call works fine when running on the device

    I have a production mobile Flex app that uses RemoteObject calls for all data access, and it's working well, except for a new remote call I just added that only fails when running with a release build. The same call works fine when running on the device (iPhone) using debug build. When running with a release build, the result handler is never called (nor is the fault handler called). Viewing the BlazeDS logs in debug mode, the call is received and send back with data. I've narrowed it down to what seems to be a data size issue.
    I have targeted one specific data call that returns in the String value a string length of 44kb, which fails in the release build (result or fault handler never called), but the result handler is called as expected in debug build. When I do not populate the String value (in server side Java code) on the object (just set it empty string), the result handler is then called, and the object is returned (release build).
    The custom object being returned in the call is a very a simple object, with getters/setters for simple types boolean, int, String, and one org.23c.dom.Document type. This same object type is used on other other RemoteObject calls (different data) and works fine (release and debug builds). I originally was returning as a Document, but, just to make sure this wasn't the problem, changed the value to be returned to a String, just to rule out XML/Dom issues in serialization.
    I don't understand 1) why the release build vs. debug build behavior is different for a RemoteObject call, 2) why the calls work in debug build when sending over a somewhat large (but, not unreasonable) amount of data in a String object, but not in release build.
    I have't tried to find out exactly where the failure point in size is, but, not sure that's even relevant, since 44kb isn't an unreasonable size to expect.
    By turning on the Debug mode in BlazeDS, I can see the object and it's attributes being serialized and everything looks good there. The calls are received and processed appropriately in BlazeDS for both debug and release build testing.
    Anyone have an idea on other things to try to debug/resolve this?
    Platform testing is BlazeDS 4, Flashbuilder 4.7, Websphere 8 server, iPhone (iOS 7.1.2). Tried using multiple Flex SDK's 4.12 to the latest 4.13, with no change in behavior.
    Thanks!

    After a week's worth of debugging, I found the issue.
    The Java type returned from the call was defined as ArrayList.  Changing it to List resolved the problem.
    I'm not sure why ArrayList isn't a valid return type, I've been looking at the Adobe docs, and still can't see why this isn't valid.  And, why it works in Debug mode and not in Release build is even stranger.  Maybe someone can shed some light on the logic here to me.

  • Does ds 52 run as 64 bit app under linux?

    does ds 52 run as 64 bit app under linux?
    Under 64 bit RH 3 AMD64 V20Z?
    Under 64 bit RH 3 on Dell or other x86 64 bit hardware?
    I've searched all over the public Sun site with no conclusive answer.
    Thanks, Mike

    No. 32 bit on Linux.

  • Running a Flex App using Coldfusion Flash Remoting Services gives me a blank SWF file but no errors

    I cannot get flex to compile to display anything. even if its
    just a single panel and some text. If I use the wizard and choose
    "Basic" or whatever, I get a flex app. But i am using cfcs so I
    selected "Coldfusion Flash Remoting Services" and when I select
    run, the browser pops up with a nice big blank screen. No loading
    progress bar, no errors, nothing.
    I am running cf8 as a standalone (developers edition)
    under project properites --> server
    root folder: C:\ColdFusion8\wwwroot
    root url
    http://localhost:8500/
    context: (blank)
    I have messed with context and webroot.
    I doesn't matter if I use a remoteObject or not. Nothing
    happens
    i through in a crossdomain.xml into the root to open it up,
    just to be sure.
    I am really stumped. I had this working fine on a previous pc
    (running cf7)
    any ideas anyone???

    I tried with some of the AS3 files from Adobe samples (http://www.adobe.com/devnet/actionscript/samples.html), for eg., the Drawing API. There are slider components in the flash app that don't show up either. Does that give anyone a clue as to what might be wrong? Thanks, Ramesh

  • Run out other tools directly from a Flex app

    Hi all.
    I develop a flex app and I want to integrate it with another tool.
    More specifically, I would like to click a button at my interface, and automatic and transparently to the user, a file with name and address pre-defined be written at the HD (without to use the FileReference object) and after, that an interpreter automatically run this file.
    I had saw this is possible with the AIR technology, but the web nature of my project doesn't allow me a platform change.
    So, I woudl like to ask you if my demand could be accomplished using the flex technology.
    Thanks in advance,
    Péricles

    Probably not.  Otherwise lots of great malware would be delivered via Flash.

  • Flex apps will not run in Browser after install

    I am running IE 6 (Wintel) and have tried both installers for
    the most recent Flash player -- activeX and the other standalone
    one. I cannot view any Flex apps now in my browser - most notably
    the derby examples. It seems to hang on a screen that has the title
    "Flash Player Installation" -- like something in the apps is
    sniffing for the player, not finding it, and then hanging on some
    "automatic" install hook that has been built for Flex but not
    completely implemented yet. That is my suspicion, but I just want
    it to work -- do I need to uninstall/reboot/install again ? Any
    tips would be greatly appreciated as I need to start a Flex 2
    project next week. thanks.

    You definatately need to run the unistaller 1st. Also make
    sure that all IE browser are closed, and that nothing that could
    possibly be using IE functionality (things like outlook, file
    manager etc...) are not running or the uninstall may well fail.
    Once this is succefully accomplished, re-install.

  • Can you build an Labview app on windows and run it on the Linux Runtime Engine?

    Our developers work on windows workstations but we would like to convert our test stands to linux. Can we run the apps they develop on Linux with the Linux Runtime?

    No. VIs developed on Windows will run in the LabVIEW Linux development (assuming no Windows specific functions like ActiveX and DLL calls) but in order to run a built application on Linux you will need to rebuild them with the Linux application builder.

  • Adobe AIR Needed on Android / iOS to Run Adobe Flex Apps

    Hi all,
    I want to confirm if the user has to install Adobe AIR before launching Adobe Flex apps on Android and iOS Devices. Is there any way that we could embedd Adobe AIR setup in the app file so that the user dont have to hastle in installing Adobe AIR.
    Taimur

    It gives you only three options:
    Signed packages for each target platform.
    Signed AIR package for installation on desktop.
    Intermediate AIRI package that must be signed later.
    For mobile apps, we need to select the first option to get the .apk and .ipa file as the second option would generate .air file. None of the options offer to package AIR runtime. Only the first option gives you the option on NEXT window to include the download link of AIR Runtime.
    If i am wrong, kindly point me to that specific checkbox.
    OR do i have to put Runtime.apk in the assets folder of my source code so that it gets packaged?

  • Font problems running a swing app under Linux

    I have an application running well under the Win family (NT, 2000, etc.)... and it also runs well under a Linux Red Hat os... but in the linux environment I've observed the folloowing font errors displayed in the screen:
    Font specified in font.properties not found [--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
    this is a unexpected issue because I'm not setting any font in my code... How can I solve it ?
    It's a Java or OS configuration problem ??

    Here is a solution:-
    Copy SYMBOL.TTF to /usr/java/jdk1.3.1_01/jre/lib/fonts or wherever.
    Note the copy should have lower case name!
    Do a chmod 444 symbol.ttf
    I don't say where to get a copy from but you can imagine!!
    Modify the file fonts.dir in the same directory as follows:
    Change the first line by 1 ie if its 72 change to 73.
    Insert the following line:
    symbol.ttf -monotype-symbol-medium-r-normal--0-0-0-0-p-0-abode-fontspecific
    You have to do the above as root of course.

  • Packaging iOS app on Linux

    I am developing Android and iOS app with AIR (3.7, without ASC 2.0) and Flex SDK (4.6) and I've run into an issue - I am able to package Android app on Linux (it's a server), but I am unable to do that for iOS. I am aware that AIR SDK is no more supported for Linux, but I thought that when its working for Android, it should work for iOS too... :-) Well, I suppose it doesn't.
    I am pretty sure that my adt command is right (because I am able to package iOS app on my developing workspace - Win7).
    Just to have it complete, error looks like this:
    unexpected failure: Functionality not supported on : Linux
    java.lang.UnsupportedOperationException: Functionality not supported on : Linux
            at com.adobe.air.ipa.AOTCompiler.<init>(AOTCompiler.java:199)
            at com.adobe.air.ipa.IPAOutputStream.createIosBinary(IPAOutputStream.java:277)
            at com.adobe.air.ipa.IPAOutputStream.finalizeSig(IPAOutputStream.java:599)
            at com.adobe.air.ApplicationPackager.createPackage(ApplicationPackager.java:90)
            at com.adobe.air.ipa.IPAPackager.createPackage(IPAPackager.java:217)
            at com.adobe.air.ADT.parseArgsAndGo(ADT.java:557)
            at com.adobe.air.ADT.run(ADT.java:414)
            at com.adobe.air.ADT.main(ADT.java:464)
    Currently I see only 2 options to make it happen on server side - to use some virtual windows machine (or wine?) or to setup windows server only for iOS packaging.
    What do YOU think? Which way is better/worse? Is there some other way?
    Thank you!
    Peter

    They must be purchased separately. Reason being is the apps you use on your Mac are for the Mac OS X, the apps you use on your iPhone are optimized for iOS. Two different operating systems.
    You purchase apps for your Mac from the Mac App Store, apps for your iPhone, from the iTunes Store.

Maybe you are looking for

  • Can two iPhones share the same phone number?

    I have an iPhone 4s and a 6, and would like to switch between them, based on the activity I'm doing.

  • Had anyone experience Report developer sudden crash before

    Hi everyone Had anyone experienced Report Developer shutdown suddenly before? It happened to me and my colleauge sometimes. Does anyone has a solution? Thank you. Bryan Edited by: Bryanevil on Apr 14, 2009 1:52 AM Edited by: Bryanevil on Apr 14, 2009

  • How to Re-arrange Order of Tracks

    I simply want to re-arrange the order of tracks in Multitrack Mode.  Please advise.  (There I even said "Please").  I searched the lousy online manual, and NO HELP.

  • Print out meaningful exception messages

    Hi There, I have sucessfully imported java classes to forms. Java talks to webservices. the CLient java that talks to forms throws Exception public class ANB { public static String ANB(java.lang.String b) throws Exception{ ............code...........

  • Playlist skipping songs half way through song

    My iPod (touch 8GB) started made a "blip" sound only a few seconds through a song today and skipped to the next. Same thing again, a blip sound and skip to the next song. The iPod was kept in my fleece jacket pocket. I took it out and held it in my h