HTTPService problem (ioerror #2032) in flex AIR application

Hi all,
I am using flex 4.5 Hero Sdk. Flex Builder plugin. Win7x64. Adobe Air 2.5.
I have a flex air project which contains 3 library projects included.
The project uses one of the included libraries for managing HttpService calls to a Tomcat server.
When I use "merge into code" option for building all projects there is no problem. I can both run in Adl and installed application (exe). HttpService calls works fine in both Adl and Air 2.5 runtime.
When I use Rsl option for building all projects I can run-debug in Adl However when I run the installed version (I mean this time running the application not with adl, but with Flex Air 2.5.x version installed in win7x64) this time HttpService calls to the server gives ioerror (Error#2032).
Some information I discovered (may not be related to the problem I stated above)
When using rsl option, "use local RSLs when debugging" option makes the difference. If this option is false, Adl cannot run the application.
I tried -use-network=true compiler option, but not sure if I did everything right while trying.
Shortly I think I need some knowledge for working with RSLs. So, can anybody help me?

Take a look at http://forums.adobe.com/message/3345972#3345972

Similar Messages

  • Random error #2032 from flex air application

    Sometimes in my air application I am getting one error #2032 - but on re-sending this query it works fine. I suspect this is some timing issue. What could be possible use cases where it can fail like this.

    Of course you may have some unstated reason for doing this in Air, but if not...
    Google photoshop droplet....
    Bob

  • PDF Not loading anymore on Flex Air Application

    Hi,
    Ever since I updated my Adobe Readed to Version 11, I can't view any PDF on my Flex Air Application anymore. Is there anything i need to do?
    AIR version: 3.6
    OS: Mac OS X
    Flex Builder: 4.6
    Adobe Reader: 11.0.02
    Flex components used: mx:HTML
    Please help.
    Thanks!

    Yes.  This is a well known bug in Air/Google Maps.  A lot of folks reported it on the Google Maps forums and here.  It was reported over a year ago with no action yet.  Major show stopper.
    For this main reason, I switched to the http://developer.mapquest.com AS3 API.  Plus they also recently released a Mobile Flash API that works great.
    I suggest you check it out because I don't anticipate any action on this issue on either side any time soon.
    Good luck!
    Don

  • Flex/Air applications with an OS X Menu Bar icon

    (Flash Builder 4 beta)
    I'm developing a flex/air application for mac os x exclusivley. The application should be very unobtrusive to the user, and as such, I want to eliminate the dock icon for the application and have it run exclusivley in the os x menu bar. Similar to a twitterific app. I've scoured the documentation for a way to do this, but only come up with methods for a system tray in windows, and dock icon function on a mac.
    Does AIR really lack the ability to have a menu bar icon?
    Thanks in advance!

    I've made menu's already for the application. They are native os x menu's but they are used create contextual menus (file, edit, view...etc...) and are only visible when the application is open. Unless their is a feauture I missed I don't think I can do it with those. I'm looking for the ability to create a menubar icon application similar to twitter, or the default apple spotlight.

  • Call JSFL from Flex Air application

    Hi,
    I have a Flex Air application that converts old style flash
    text var txt files into XML. As part of the process it creates a
    jsfl file that when run will automate through older FLAs and
    upgrade them with changes required.
    My question is this. Using the command
    fl.runScript(locationOfJSFLscript) in flash, it will automatically
    call the script and execute it. How do I do the same in Flex? i.e.
    I have a button in the application. I press it and it sends the
    call to run the script.
    Thank you

    Of course you may have some unstated reason for doing this in Air, but if not...
    Google photoshop droplet....
    Bob

  • Twitter Feed Within A Flex/Air Application

    I am attempting to advance an appilcation I've created so that it incorporates a live twitter feed i.e. when users access the application their own twitter feed is shown within it and is updated live.
    I have no experience in using either twitter itself or how to incorporate twitter feeds into a flex/air application specifically and was wondering if anyone can tell me exactly what I'd need to do to achieve this?
    A further addition my client has requested is the use of live images. The app itself is basically an interactive favourites menu with users clicking on and adding links to sites within the app. Each of these links is represented by an icon which is basically a screenshot of each site. I want to alter this so that these images change live AS the site themselves change so they are constantly up to date. Is this also possible at all and if so can anyone give me advice on how this could be achieved?

    Thanks a lot. I've used another method that simply lets the user enter their twitter name and it loads their live feed. I suppose that way would work too though. Cheers.

  • Identical flex-air applications do not compile

    I'm having terrible difficulty with writing Air Applications for compiling with the flex 3.2 SDK.
    I have two identical basic flex air applications, but one will not compile, the other will.
    When I try to run the application from flex builder the first app runs fine while the second one doesn't.
    any ideas?
    http://www.andy-hayes.com/download/TestApp.zip
    http://www.andy-hayes.com/download/TestTransparentApplication.zip
    I've just about had enough of flex builder's bs. tbh.

    Hi Randy,<br /><br />This forum really isn't the place to try to get support on app compilation.  We try to keep discussion here to development of the SDK itself.  I'd suggest looking at the regular Flex forums or flexcoders and posting more details as to the error you're seeing.<br /><br />Matt<br /><br /><br />On 1/13/09 3:51 AM, "randy gland" <[email protected]> wrote:<br /><br />A new discussion was started by randy gland in<br /><br />Developers --<br />  Identical flex-air applications do not compile<br /><br />I'm having terrible difficulty with writing Air Applications for compiling with the flex 3.2 SDK.<br /><br />I have two identical basic flex air applications, but one will not compile, the other will.<br /><br />When I try to run the application from flex builder the first app runs fine while the second one doesn't.<br /><br />any ideas?<br /><br />http://www.andy-hayes.com/download/TestApp.zip<br />http://www.andy-hayes.com/download/TestTransparentApplication.zip<br /><br />I've just about had enough of flex builder's bs. tbh.<br /><br />________________________________<br />View/reply at Identical flex-air applications do not compile <a href=http://www.adobeforums.com/webx?13@@.59b78044><br />Replies by email are OK.<br />Use the unsubscribe <a href=http://www.adobeforums.com/webx?280@@.59b78044!folder=.3c060fa3>  form to cancel your email subscription.

  • Problem in full screen mode air application

    Hi All
    I am facing some problem in creating an air application. I used fullscreenmode .FULL_SCREEN_INTERACTIVE to maximize the window on load the application was succeeded in some extent. But there is one problem one bottom bar is coming just under the window. can anybody please help me. I am attaching the preview with this.
    Thanks and regards

    Hi M*A*S*H 4077 thanks agan for your reply sending you the total code i used in my project.As I am a new coder my codes are not in abc please try to understand.please have a look and if u want to see my componentcode then also i can send code.component i only used in the video part.
    thank you
    <?xml version="1.0" encoding="utf-8"?>
    <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml"
        xmlns:components="components.*"
        verticalAlign="top"
        backgroundColor="white"
        borderStyle="none"
        borderThickness="0"
        creationComplete="init();"
        baseline="0"
        paddingLeft="0" paddingRight="0" paddingTop="0" paddingBottom="0"      
        initialize="service.send()"               
        applicationComplete="fullscreenmode()"
        backgroundGradientAlphas="[1.0, 1.0]"
        backgroundGradientColors="[#CCCCCC, #090909]"
        backgroundImage="@Embed(source='assets/background/background.jpg')"
        >
        <mx:Script>
            <![CDATA[
                import mx.controls.Alert;
                import flash.display.Sprite;
                import flash.display.StageAlign;
                import flash.display.StageScaleMode;
                import mx.rpc.events.ResultEvent;
                import mx.effects.Iris;
                import mx.effects.easing.*;
                import flash.utils.Timer;
                [Bindable]
                public var secondsTillDue:int=100;
                import mx.collections.ArrayCollection;
                import mx.rpc.events.ResultEvent;
                public var bol:Boolean;
                [Bindable]
                private var images:ArrayCollection;
                [Bindable]
                private var centerpoint:Number;
                [Bindable]
                private var currentIndex : Number = 0;
                public var myTimer:Timer;
                [Bindable]
                private var mainwidth:Number;
                [Bindable]
                private var mainheight:Number;
       private function init():void {
                myTimer=new Timer(1000);
                myTimer.addEventListener(TimerEvent.TIMER,warnIfClose);
                myTimer.start();
                // Initialize the uldr variable which will be used to load the external
                // playlist XML file.
                uldr = new URLLoader();
                uldr.addEventListener(Event.COMPLETE, xmlCompleteHandler);
                uldr.load(new URLRequest(PLAYLIST_XML_URL));
            /* function setFullScreenDisplayState():void{
                 stage.displayState=stageDisplayState.FULL_SCREEN_INTERACTIVE;
          public function warnIfClose(event:TimerEvent):void{
            secondsTillDue=secondsTillDue-1;
            if(secondsTillDue==90){   
             lab1.setStyle("hideEffect", fade);
             lab1.visible=false;
             clockpan.visible=false;
             clockpan.includeInLayout=false        
             clock1.setStyle("hideEffect", fade);
             clock1.visible=false;        
            else if(secondsTillDue==88){
                mainbox
                imagePart.setStyle("showEffect",fade);
                imagePart.visible=true;
                imagePart.includeInLayout=false;
             else if(secondsTillDue==83){
                 imagePart.visible=false;            
                 imagePart.setStyle("hideEffect",fade)        
                 videoContainer.visible=true;
                 playVideo();    
                private function fullscreenmode():void{
                stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE;
                mainwidth=stage.width;
                mainheight=stage.height;
                centerpoint=stage.height/2;
                private function serviceHandler(event:ResultEvent):void{           
                    images = event.result.gallery.img;
                    var timer:Timer = new Timer(15000);
                    timer.addEventListener(TimerEvent.TIMER,nextImage);
                    timer.start();
                private function nextImage(event:TimerEvent):void{
                        if (currentIndex < images.length - 1){
                            currentIndex++;
                        else {
                            currentIndex = 0;
            import mx.controls.ProgressBarMode;
                 * The amount of time between calls to update the playhead timer, in
                 * milliseconds.
                private const PLAYHEAD_UPDATE_INTERVAL_MS:uint = 10;
                 * The path to the XML file containing the video playlist.
                private const PLAYLIST_XML_URL:String = "playlist.xml";
                 * The client object to use for the NetStream object.
                private var client:Object;
                 * The index of the currently playing video.
                [Bindable]
                private var idx:uint = 0;
                 * A copy of the current video's metadata object.
                private var meta:Object;
                private var nc:NetConnection;
                private var ns:NetStream;
                private var playlist:XML;
                private var t:Timer;
                private var uldr:URLLoader;
                private var vid:Video;
                private var videosXML:XMLList;
                 * The SoundTransform object used to set the volume for the NetStream.
                private var volumeTransform:SoundTransform;
                 * Constructor
                private function initApp():void {
                    // Initialize the uldr variable which will be used to load the external
                    // playlist XML file.
                    uldr = new URLLoader();
                    uldr.addEventListener(Event.COMPLETE, xmlCompleteHandler);
                    uldr.load(new URLRequest(PLAYLIST_XML_URL));
                 * Once the XML file has loaded, parse the file contents into an XML object,
                 * and create an XMList for the video nodes in the XML.
                private function xmlCompleteHandler(event:Event):void {
                    playlist = XML(event.target.data);
                    videosXML = playlist.video;
                    main();
                 * The main application.
                private function main():void {
                    volumeTransform = new SoundTransform();
                    // Create the client object for the NetStream, and set up a callback
                    // handler for the onMetaData event.
                    client = new Object();
                    client.onMetaData = metadataHandler;
                    nc = new NetConnection();
                    nc.connect(null);
                    // Initialize the NetSteam object, add a listener for the netStatus
                    // event, and set the client for the NetStream.
                    ns = new NetStream(nc);
                    ns.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
                    ns.client = client;
                    // Initialize the Video object, attach the NetStram, and add the Video
                    // object to the display list.
                    vid = new Video();
                    vid.x = 0;
                    vid.y = 0;
                    vid.attachNetStream(ns);
                    videoContainer.addChild(vid);
                    // Begin playback of the first video.
                    //playVideo();
                     //play video code goes here
                    // Initialize the Timer object and set the delay to
                    // PLAYHEAD_UPDATE_INTERVAL_MS milliseconds.
                    t = new Timer(PLAYHEAD_UPDATE_INTERVAL_MS);
                    t.addEventListener(TimerEvent.TIMER, timerHandler);
                    // Configure the positionBar ProgressBar instance and set the mode to
                    // MANUAL. Progress  bar values will be explicitly set using the
                    // setProgress() method.
                    //positionBar.mode = ProgressBarMode.MANUAL;
                    // Configure the volumeSlider Slider component instance. The maximum
                    // value is set to 1 because the volume in the SoundTransform object
                    // is set to a number between 0 and 1. The snapInterval and tickInterval
                    // properties are set to 0.1 which allows users to set the volume to
                    // 0, 0.1 - 0.9, 1.0 which allows users to increment or decrement the
                    // volume by 10%.
                    //volumeSlider.value = volumeTransform.volume;
                    //volumeSlider.minimum = 0;
                    //volumeSlider.maximum = 1;
                    //volumeSlider.snapInterval = 0.1;
                    //volumeSlider.tickInterval = volumeSlider.snapInterval;
                    // Setting the liveDragging property to true causes the Slider
                    // instance's change event to be dispatched whenever the slider is
                    // moved, rather than when the user releases the slider thumb.
                    //volumeSlider.liveDragging = true;
                    //volumeSlider.addEventListener(Event.CHANGE, volumeChangeHandler);
                    // Configure the various Button instances. Each Button instance uses
                    // the same click handler.
                    //playButton.addEventListener(MouseEvent.CLICK, buttonClickHandler);
                    //pauseButton.addEventListener(MouseEvent.CLICK, buttonClickHandler);
                    //stopButton.addEventListener(MouseEvent.CLICK, buttonClickHandler);
                    //backButton.addEventListener(MouseEvent.CLICK, buttonClickHandler);
                    //forwardButton.addEventListener(MouseEvent.CLICK, buttonClickHandler);
                 * Event listener for the volumeSlider instance. Called when the user
                 * changes the value of the volume slider.
                private function volumeChangeHandler():void {
                    // Set the volumeTransform's volume property to the current value of the
                    // Slider and set the NetStream object's soundTransform property.
                    //volumeTransform.volume = volumeSlider.value;
                    ns.soundTransform = volumeTransform;
                 * Event listener for the ns object. Called when the net stream's status
                 * changes.
                private function netStatusHandler(event:NetStatusEvent):void {
                    try {
                        switch (event.info.code) {
                            case "NetStream.Play.Start" :
                                // If the current code is Start, start the timer object.
                                t.start();
                                break;
                            case "NetStream.Play.StreamNotFound" :
                            case "NetStream.Play.Stop" :
                                // If the current code is Stop or StreamNotFound, stop
                                // the timer object and play the next video in the playlist.
                                t.stop();
                                playNextVideo();
                                break;
                    } catch (error:TypeError) {
                        // Ignore any errors.
                 * Event listener for the ns object's client property. This method is called
                 * when the net stream object receives metadata information for a video.
                private function metadataHandler(metadataObj:Object):void {
                    // Store the metadata information in the meta object.
                    meta = metadataObj;
                    // Resize the Video instance on the display list with the video's width
                    // and height from the metadata object.
                    vid.width = mainwidth;
                    vid.height = mainheight;
                    // Reposition and resize the positionBar progress bar based on the
                    // current video's dimensions.
                    //positionBar.move(vid.x, vid.y + vid.height);
                    //positionBar.width = vid.width;
                 * Retrieve the current video from the playlist XML object.
                private function getVideo():String {
                    return videosXML[idx].@url;
                 * Play the currently selected video.
                private function playVideo():void {
                    var url:String = getVideo();
                    ns.play(url);
                 * Decrease the current video index and begin playback of the video.
                private function playPreviousVideo():void {
                    if (idx > 0) {
                        idx--;
                        playVideo();
                        // Make sure the positionBar progress bar is visible.
                        //positionBar.visible = true;
                 * Increase the current video index and begin playback of the video.
                 [Bindable]
                 private var newTime:Number;
                private function playNextVideo():void{
                    if (idx < (videosXML.length() - 1)) {
                        // If this is not the last video in the playlist increase the
                        // video index and play the next video.
                        idx++;
                        playVideo();
                        // Make sure the positionBar progress bar is visible.
                        //positionBar.visible = true;
                    } else {
                        // If this is the last video in the playlist increase the video
                        // index, clear the contents of the Video object and hide the
                        // positionBar progress bar. The video index is increased so that
                        // when the video ends, clicking the backButton will play the
                        // correct video.
                        idx++;
                        vid.clear();
                        init();
                        //Alert.show("video end")
                        //positionBar.visible = false;
                private function timerHandler(event:TimerEvent):void {
                    try {
                    } catch (error:Error) {
            ]]>
        </mx:Script>
    <mx:XML id="imagesXML" source="data/images.xml" />
        <mx:Zoom id="zoom" />
        <mx:Fade id="fadein" duration="1000" alphaFrom="100" alphaTo="0" />
        <mx:Fade id="fade" />
        <mx:Rotate id="rotate"
                angleFrom="-180"
                angleTo="0"
                easingFunction="Elastic.easeInOut"
                duration="2000" />
    <mx:VBox  id="mainbox" horizontalAlign="left" width="100%" height="100%" verticalScrollPolicy="off" horizontalScrollPolicy="off">
                <mx:Panel borderStyle="none"
               borderAlpha="0"
               cornerRadius= "0"
               headerHeight= "0"
               backgroundAlpha= "0"
               borderThickness="0"
               verticalAlign="middle"
               top="100"
               height="500"
               paddingLeft="0"
               paddingRight="0"
               paddingBottom="0"
               verticalScrollPolicy="off"
               horizontalScrollPolicy="off"
               horizontalAlign="center"          
               width="{mainwidth-100}"           
               id="clockpan"
               >       
                    <mx:Label text="Current Time : " fontFamily="arial" fontWeight="bold" fontSize="15" id="lab1" color="#FFFFFF"/>
                    <components:MyWatch formatString="DD/MM/YYYY KK:NN:SS " themeColor="#0D424C" id="clock1"/>
                </mx:Panel> 
        <!--image part start-->     
        <mx:Panel horizontalAlign="left" id="imagePart" visible="false" includeInLayout="false" borderStyle="none"
               borderAlpha="0"
               cornerRadius= "0"
               headerHeight= "0"
               borderThickness="0"
               verticalScrollPolicy="off"
               paddingLeft="0" paddingBottom="0" paddingRight="0" paddingTop="0"
               horizontalScrollPolicy="off"
               backgroundAlpha= "0" width="100%" height="100%">       
                <mx:Image source="assets/images/{images.getItemAt(currentIndex).file}"
                    showBusyCursor="true" id="imagefile" width="{mainwidth}" maxHeight="{mainheight}" minHeight="{mainheight}" maxWidth="{mainwidth}" minWidth="{mainwidth}" height="{mainheight}" hideEffect="{fadein}"  x="0" y="0" maintainAspectRatio="false"/>
                <mx:Text text="{images.getItemAt(currentIndex).title}" styleName="title" color="#ffffff" x="0" y="30"/>
         </mx:Panel>
        <!--image part end-->
        <!--image part start-->      
        <mx:Panel borderStyle="none"
               borderAlpha="0"
               cornerRadius= "0"
               borderThickness="0"
               headerHeight= "0" top="0" left="0"
               backgroundAlpha= "0" verticalAlign="middle"
               verticalScrollPolicy="off"
               horizontalScrollPolicy="off"
               x="0"
               >
             <mx:VideoDisplay borderStyle="none" borderThickness="0" visible="false" id="videoContainer"
                  maintainAspectRatio="false"           
                  />
        </mx:Panel>
        <!--image part end-->
         <!--<mx:Button label="fullscreen" click="stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE;"/>-->
         </mx:VBox>   
        <mx:HTTPService id="service" url="data.xml" result="serviceHandler(event)"/>
    </mx:WindowedApplication>

  • Problem(16824) in updation of Air application

    hello friends
                     i m made an air application for my project.but needs to upgrade it.so i followed the update frame work as guided in this blog
                       http://www.adobe.com/devnet/air/flex/quickstart/update_framework.html
    this frame works fine for two -three versions but after that when i upgrade the application to new version it reapeatdly shown error messg
    There was and error downloading the file: error 16824.
    there is not any abnormal change in update decriptor file (on server) and application discriptor file.still facing that surprised problem.
    can any body help me out.
    Thanks in advance

    Deepak,
    Import parameters are asked once you click on Execute button of the FM. Here the screen is here.
    Most of the fields look like Boolean values with 'X', if yes. Also there are 3 table icons seen. Once you click you are into the screen where you can fill the table values also. After inputting these values when you click on the Execute button in this screen the Entries in The Tables (output) will be filled. This your output.
    I did not work on this. But all new FMs I try this way only. Often we need to play with FMs through Execute button and passing the Import parameters. After several trials we start understanding, what it is asking and what is returned.
    KJogeswaraRao

  • Digitally Signing Flex/AIR Application

    I am looking for some help with updating an AIR application with a renewed certificate.
    The way that Adobe AIR handles digitally signed certificates is fairly confusing. I think it has changed with the release of AIR 1.5.3 and this change has caught us off guard and has resulted in some problems.
    According to the Adobe website: Prior to AIR 1.5.3, signing an AIR application with a renewed certificate did not always require a migration signature. Starting with AIR 1.5.3, a migration signature is always required for renewed certificates.
    Furthermore: The certificate must be changed before the original certificate expires. If you do not create an update signed with a migration signature before your certificate expires, users will have to uninstall their existing version of your application before installing a new version. As of AIR 1.5.3, an expired certificate can be used to apply a migration signature within a 180 day grace period after the certificate has expired. (You cannot use the expired certificate to apply the main application signature.).
    See:
    http://help.adobe.com/en_US/AIR/1.5/devappsflex/WS5b3ccc516d4fbf351e63e3d118666ade46-7ff0. html#WS5b3ccc516d4fbf351e63e3d118666ade46-7cca
    http://help.adobe.com/en_US/AIR/1.5/devappsflex/WS13ACB483-1711-43c0-9049-0A7251630A7D.htm l
    BOTTOM LINE:
    We did not create a "migration signature" within the 180 grace period because we had no updates (bug fixes or enhancements) to our application during this time. When I finally did prepare a new release of our application and signed it with our new certificate, the Adobe installer is not recognizing the new application as an UPDATE of the old application so when you try to install it, the user gets an error message that an application that the same name is already installed. In the past, the installer recognizes the new application as an update and it replaces the old app. I think there may be a way for me to handle this properly, but all of my attempts so far have not produced the results I am looking for.
    The issues may be related to specifying a Publisher ID. We may need to specify the publisherId in the descriptor.xml file, which we have never had to do in the past. However, the publisherId property may only be available in 1.5.3. I have been having trouble specifying the 1.5.3 name space (<application xmlns="http://ns.adobe.com/air/application/1.5.3">). I think that must only be available for newer versions of the compiler. I am currently using 3.5.
    Are there any experts on this topic that can explain How I can package my updated app so that the installer recognizes it as an UPDATE and not a NEW APP with the same name (which doesn't work)?

    Any ideas on this?

  • How to Add Input Values into a XML in Flex AIR Application

    I need a help, now I am developing a flex windows AIR application, in this I am displaying data using a xml file,
    I have some input fields in my application,if the application user filled the input field and press submit button, the inputs
    Should be stored in that xml. How can I do this using flex, can you  anyone please provide me a sample file with tutorial.
    Thanks in advance
    Vasanth,
    Chennai

    You can use the "+" operator which is both the addition (number) and concatenation (string) operator. JavaScript makes the decision about how this operator will work by the type of the value of being processed. Two numbers JavaScript performs addition, character string and number, number and character string, or 2 character strings then concatenation.
    If you just use the '+' operator and spaces, you will get extra spaces unless you add code to allow for null fields and adjusting the spacing or other punctuation as needed. You may also need to force numeric values to character stings or you might end up with an addition and not concatenation.
    Adobe provided a example of a funciton to properly join 3 fields with full versions of Acrobat:
    function fillin(s1, s2, s3, sep) {
      // Concatenate 3 strings with separators where needed
      // convert passed strings to a string value
      s1 = s1.toString();
      s2 = s2.toString();
      s3 = s3.toString();
      // assign a numeric value for presence of a given string(s)
      var test = 0; // no passed strings
      if (s1 != "") test += 1; // s1 has a value
      if (s2 != "") test += 2; // s2 has a value
      if (s3 != "") test += 4; // s3 has a value
      // return appropriate combination based on passed strings
      if (test == 0) return ""; // no stings passed
      if (test == 1) return s1; // s1 only
      if (test == 2) return s2; // s2 only
      if (test == 3) return s1 + sep + s2; // s1 and s2
      if (test == 4) return s3; // s3 only
      if (test == 5) return s1 + sep + s3; // s1 and s3
      if (test == 6) return s2 + sep + s3; // s2 and s3
      if (test == 7) return s1 + sep + s2 + sep + s3; // s1, s2, and s3

  • Can you call external exe file from Flex Air Application like notepad.exe

    Im trying to make my Air Application open an External exe file anyone know if this can be done?

    Hi,
    If you want to share code between a flex app and AIR, you
    could isolate the common bits as a swc file and link to the swc
    from both the flex and air project.
    Also, you could have the flex mxml file and air mxml file
    load the same module (which has the same stuff as your original
    flex application) using ModuleLoader.
    Or, you could even load the swf of your flex application
    using SWFLoader in your air mxml file.
    Basically, check out creating flex libraries, modules and
    runtime loading of swfs.

  • Open PS (CS-CS4) and load image from flex/air application?

    Hello,
    (Not sure wether to post this in the AIR forum or the FLEX forum?)
    I am at a loss on how to get my simple application to work. I have a small desktop air application that simply opens Photoshop and runs an action. I used switchboard and the application ran great on PC and MAC. However it only worked for CS3, and CS4 not CS or CS2?. Plus the size of switchboard was a bit large for my small app. I am willing to live with that though . I am using Air with Flex and wanted to know if perhaps there is a beter approach? All the application does is open photoshop, loads an image, and runs an action. Can I do this for all versions of Photoshop using switchboard? Can I do this without switchboard and just use javascript. The big issue is the Air app needs to open Photoshop, and most of the examples have me open PS first and then execute a script located in the PS directory. This needs to work outside of the PS directory. Any examples are appreciated.
    I have looked at the following:
    - SwitchBoard : only works for CS3-CS4 (on my tests)
    - PatchPanel: same issue, plus seperate SDKs
    - ExtendScript: requires script to be run from PS not Air

    Of course you may have some unstated reason for doing this in Air, but if not...
    Google photoshop droplet....
    Bob

  • Problem with Expose and Adobe AIR application -can't click on app in Expose

    I just installed a new Adobe AIR application called TwitterLocal. The app was working fine until I accidently hit some keyboard shortcut and the application window disappeared. I figured I accidently assigned the window to some other "space," however I do not have SPACES turned on. Furthermore, when I select EXPOSE, I can now see the content of the application's window, however if I click on the app (which takes on that grey-highlight appearance when you mouse over it) the desktop returns to its normal position. I can see via the top status bar that the app is currently selected, but I cannot access the app window.
    Is there any way to send an app that was "sent" to expose back to the normal desktop? I've tried rebooting and even uninstalling/reinstalling the app but it is still lost in expose.
    Any thoughts on this would greatly be appreciated.

    Solution was to change display to lower resolution, then the Adobe AIR app TwitterLocal became visible on the standard desktop and I was able to click on and move the app window towards the left of the desktop. Once I switched the resolution back, everything was ok.

  • Flex/Air Application Login - the best way

    Hi,
    I have small ideological problem :) I have login form in my
    application. So, each user has his own login and password. As
    serverside is used LCDS with secured destinations.
    And here are two possible approaches:
    1) I use server side auth. mechanism (Tomcat realm) to check
    users credentials. I have custom auth. class, which check user
    credentials. This works, but, i have some problems in logout
    operation and if user enter wrong username or password.
    2) Second way is this. I have only one user (which is
    hardcoded in app or loaded from config). This user is authenticated
    to server at the start (setCredentials() ). I need this, because
    all destinations are secured. And the "real user" is verified
    against the services that will bring the information if that user
    is verified or not.
    So, i don't know which approach is better. Now, using the
    first.
    What do You think about this ? Which way is the best ?

    Hi,
    this topic can be deleted (i can't do this, i can edit, but
    can't delete this post).
    I'm very sorry, i wanted to post my question into Flex Data
    Services forum, not here.
    So, i entered this question into the Flex Data Services
    forum:
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=60&catid=583&threadid =1400436&enterthread=y

Maybe you are looking for