Desktop AIR app debug build running from cache?

I'm new to flash builder (using 4.5 for os x) and I've been working on a desktop AIR app for the last week.  I've been running into a strange issue when deugging my app.  Every once and a while (maybe 4-5 times a day) after I make changes to my code and I make a new debug build, a much older version of the app runs when I run the app with or without the debugger, or even if I export for release.  It's as though its running (or building) from the cache, except I'm building a desktop app and I'm not testing the swf on a browser.  I've turned off "Build Automatically", cleaned the project and build again but no changes are reflected.  I can't figure out how, but after cleaning, quitting flash builder, restarting, cleaning, building again, etc.. numerous times suddenly I will see the current version of the app back up and running.  I cannot for the life of me figure out how to quickly resolve the issue, or what exactly is fixing it. Every time it seems like something else triggers FB to refresh the build.  I can even run the debugger and step through my current code while seeing completely different results on the screen.
Has anyone else run into this issue?  Anyone know what I may be missing?  Are there settings I need to change besides "Build Automatically"?  Thanks for your help,
Nick

Thanks for the answer.  How exactly Flash Builder is running is a little clearer to me now.  I checked and the timestamps were indeed being updated correctly.
This helped me to look elsewhere for the issue.  I actually now think it may have to do with mobile home sync that I have going through OS X.  Whenever the sync runs, FB seems to launch an outdated (as in hours ago) version of the app.  Despite the fact that the sync is not pulling in new files, it seems to be the issue.  If i stop the sync I start seeing the current version of the app again when I run the debugger.  So I think its just the OS causing my problem (although I still don't completely understand why exactly the issue would manifest itself in FB).  Fortunately I can recreate the issue every time I run the sync, so the problem is consistent at least!
Thanks again for your help.

Similar Messages

  • How to read http cookies from adobe desktop Air app using flex/flash builder in AS 3.0 ??

    Im developing Adobe desktop air app where i need to read the session id from the cookie of a http request.
    I have found a property called URLRequest.manageCookies supported by AIR so i Hope there should be a way to read the cookies as well. Im Using Flash Builder 4.5
    Please provide any reference code or guide me for this research;
    searched a lot regarding on this web.
    Most results lead to local shared object or reading cookies fr a webpage using javascript and ExternalInterface.
    I want to read http cookies not Local shared Object and in a desktop AIR application.
    Im using Flash builder 4.5
    Thanks
    Hari

    Sorry, but you are at the wrong forum; this one is only for discussions on the forums themselves. The Air forums are here:
    http://forums.adobe.com/community/air

  • Mobile app to desktop air app

    How do I convert my mobile air app to a desktop air app.  I basically just want the app to look just like the emulator version but maybe with a 1024x768 view instead (tablet sized).

    When you build the release build of the application, you can choose "AIR for desktop" and the app looks exactly like in the emulator.
    Otherwise you have to port some of your application components to an AIR project (if you want the full AIR desktop functionality).

  • What's the difference on StageWebview in Mobile and Desktop AIR apps?

    Hi,
    What's the difference between StageWebView in an AIR mobile and
    AIR desktop app? (AIR 3.9 SDK)
    I have the problem that in a StageWebView related feature is working and on mobile but not on desktop AIR apps.
    The feature lets users login into a website and post to the forum - on mobile it seems that the cookie/session is not found.
    What could be the reason for that?
    Any ideas welcome!

    I would recommend against using useNative = true in Windows, because that means the behaviour and presentation of the page is very unpredictable, since the user can have pretty much any version of IE from 6 to 11 and beyond. That's more than a decade worth of different (and some really old and buggy) versions of Internet Explorer. The embedded WebKit in AIR could use an update (it's a bit old), but it's still a lot better than the wild territory of native IE ;-). I'm glad the AIR team listened to us and in AIR 3.9 they gave us back the option to not use native IE in Windows (in some of the previous versions, such as AIR 3.6, 3.7 and 3.8, only the IE engine was available to StageWebView, which forced me to use AIR 3.5 for Windows versions of my application, since the IE engine provided all sorts of problems).
    Anyway, I don't understand your post very well. First you say "is working and on mobile but not on desktop AIR apps". From that I get that your page is working on mobile but doesn't work properly on desktop, but then you say "on mobile it seems that the cookie/session is not found". That contradicts the other sentence, since now you're saying it doesn't work properly on mobile.
    Which one is true?

  • Automator app won't run from double-click

    automator app won't run from double-click in finder or from alert from ical. Will only run if I open in automator editor.
    I found a solution on my own. I opened activity monitor and all the automator apps that I run daily were hanging up and the auromator launch was hanging up. I force quit them from the activity monitor. Now it works again.

    I might have gotten there eventually on my own, but I suspect finding your post saved me a lot of work. Thanks for posting your solution.

  • AIR apps won't launch from flex builder

    Hi,
    I am currently working on my first AIR app inside of Flex
    Builder 3. For some reason, when I try to launch, profile, or debug
    the app, it does it's normal "Loading.." message in the
    bottom-right corner, but will never launch. The loading message
    just disappears and the app never shows up. I do have the AIR
    runtime installed. I receive this message when trying to profile
    the application:
    Process terminated without establishing connection to
    debugger.
    Command:
    "C:\Program Files\Adobe\Flex Builder
    3\sdks\3.0.0\bin\adl.exe" "C:\Personal\Freelance
    Projects\MyBoatData_Prototype\bin-debug\MyBoatData-app.xml"
    "C:\Personal\Freelance Projects\MyBoatData_Prototype\bin-debug"
    Output from command:
    invocation forwarded to primary instance
    Can anyone help?

    If you are using mx:Application, you need to set visible as
    true in the app.xml file.
    Also make sure that no instance of adl is already running. If
    so kill that instance via task manager.
    Thanks,
    Gaurav

  • AIR app won't launch from flex builder

    Hi,
    I am currently working on my first AIR app inside of Flex
    Builder 3. For some reason, when I try to launch, profile, or debug
    the app, it does it's normal "Loading.." message in the
    bottom-right corner, but will never launch. The loading message
    just disappears and the app never shows up. I do have the AIR
    runtime installed. I receive this message when trying to profile
    the application:
    Process terminated without establishing connection to
    debugger.
    Command:
    "C:\Program Files\Adobe\Flex Builder
    3\sdks\3.0.0\bin\adl.exe" "C:\Personal\Freelance
    Projects\MyBoatData_Prototype\bin-debug\MyBoatData-app.xml"
    "C:\Personal\Freelance Projects\MyBoatData_Prototype\bin-debug"
    Output from command:
    invocation forwarded to primary instance
    Can anyone help?

    You might have the ADL open already and had a bug, so it's
    not going to show the new application.
    You need to manually close ADL first before you try debugging
    another time. If you're on a PC, use Task Manager ->
    Processes... and end ADL.EXE
    Then try running the app again... it should sort it
    out.

  • Launch desktop AIR app from swf button

    I have a very simple task. I have an AIR app installed. All I want to be able to do is launch it from a swf button. I am building the swf button in Flash CS6. How do I do this? All it has to do is launch the app. No fancy stuff, no installs, no validation. Just launch the darn app. I can't seem to find a simple solution. Thanks!

    Not sure exactly why yet, but I finally found something that worked!!!! Hope this saves someone else hours of research:
    myCustomBtn.addEventListener(MouseEvent.MOUSE_DOWN, versionDetectCallback);
    var _air:Object;
    var _loader:Loader;
    var appID:String = "thenameofmyapp";
    var pubID:String = " "; 
    function loadAir() : void
    _loader = new Loader();
    var loaderContext:LoaderContext = new LoaderContext();
    loaderContext.applicationDomain = ApplicationDomain.currentDomain;
    _loader.contentLoaderInfo.addEventListener(Event.INIT,onInit);
    _loader.load(new   URLRequest("http://airdownload.adobe.com/air/browserapi/air.swf"),loaderContext);
    function onInit(event:Event) : void
    _air = event.target.content;
            //the pubID argument resolves to and empty string ""  
            _air.getApplicationVersion(appID, pubID, versionDetectCallback);
    function versionDetectCallback(event:MouseEvent) : void
           _air.launchApplication(appID,pubID);
    loadAir();

  • Giving an ICON to my desktop AIR app?

    Well, I just completed my first AIR app. I took an existing
    flex app that my agency has been using for about a year now and
    converted it to AIR. It was much better suited outside the browser
    environment, so this was the perfect chance to try AIR. Well, I
    exported my project. Installed the app to C:\Program Files. I
    selected the option to create a desktop short-cut. Finish! Well, I
    have my app installed and it's on the desktop as well. It runs
    perfectly. The only thing left is to set the icon for the
    application. How is this done aside from manually setting an icon
    from the short-cut's properties menu. Is there a setting in Flex
    Builder that sets the icon? Google has given me no help. Any time
    there's a mention of "learn to add an icon to your AIR app", it
    always refers to an ADOBE AIR class and the material covered.
    Help!! thanks!

    Nevermind, found it after opening the appname-app.xml file.
    After resizing the icon i wanted for each dimension, it
    worked.

  • Multiple AIR apps with the same local cache?

    Hi guys,
    Is it possible to create multiple AIR apps (for mobile & desktop) that can use the same local cache?
    For example: 2 apps for iPad will use the same data store (local cache). If we synchronize (with LCDS) and get all the data for 1 application, if we open the second application, can we access the data set from the other application?
    Thx!

    Hi Vikram,
    Eventhough I think it is techincally not possible, even if it was I would not recommend doing this. I think this is asking for problems and you can wait for the day that somebody messes up your production system, thinking it is DEV.
    I would use names like DEV_Oracle_BI_DW_Base and PRD_Oracle_BI_DW_Base, to clearly distinguish between the environments. But then again, I think Informatica forces you to use different names.
    Regards,
    Toin.
    ~Corrected typo.
    Edited by: Toin on Oct 16, 2008 4:02 PM

  • AIR app will not run on Win XP

    I craeted an AIR app for my company's sales team. I've passed it around and it works fine on most machines (mostly Dell laptops running Windows XP). I have one salesman who was able to run earlier versions of the app, but now opening the app does nothing. I can see it running in the background when I look at the Processes tab in Windows Task Manager. No one else has had this problem. I've tried uninstalling and reinstalling both the app and the AIR player (version 1.5.3.9130). Are there any Windows security settings he might have set that would prevent an AIR app from opening?

    I ran the install log and I'm including the contents to see if you can make any sense of it
    . The only thing that sticks out is a line "Application not located", which I highlighted below. Otherwise it looks like it installed
    just fine. I appreciate your taking a look at this.
    Starting app install of file:///C:/Documents%20and%20Settings/Andrew.esposito/Desktop/ROI_CalculatorAir-060310.ai r
    UI SWF load is complete
    UI initialized
    Unpackaging to C:\Documents and Settings\Andrew.esposito\Local Settings\Temp\flaA2.tmp
    unpackaging is complete
    application is bound to side-by-side version 1.0
    application is bound to this version of the runtime
    app id ROI-CalculatorAir3
    pub id 579DB9134D64DA8D12906F2BE8761198D0983B68.1
    Application not located
    Waiting for user confirmation
    User confirmed action: install
    creating native installer in: C:\Documents and Settings\Andrew.esposito\Local Settings\Temp\flaA3.tmp
    native installer creation complete
    Starting install
    Destination for installed application is C:\Program Files
    Beginning install
    Installing C:\Documents and Settings\Andrew.esposito\Local Settings\Temp\flaA3.tmp\setup.msi
    Execution complete; beginning commit phase
    Commit complete
    Re-launching application from C:\Program Files\ROI_CalculatorAir3\ROI_CalculatorAir3.exe
    starting cleanup of temporary files
    application installer exiting

  • Debugging or Running from OC4J container does not save to database

    When I run a project locally, from the oc4j container, none of my user input is committed to the database, for example...
    1. any changes to an lov input field are removed upon tabbing out of the field
    2. any other changes are not saved, getTransaction().isDirty() is false
    I am unable to debug any items that require user input. I don't know when or why this started happening.
    Thanks,
    jerry.

    1. any changes to an lov input field are removed upon tabbing out of the field - may be the PPR event of LOV is handled in the controller's processFormRequest where the values are cleared
    I am unable to debug any items that require user input. ----- are you trying to get the values of input items in the processFormRequest?

  • FB4: Just migrated to Windows 7 and apps won't run from HTML

    I've got a new laptop with Windows 7 Pro 64-bit. I've installed FB4 and moved all my projects over to it. When I try to run an app from inside FB4 (using either Firefox or IE8), and it loads the HTML file, nothing happens. If I change the URL to point to the SWF file instead, hey presto it works.... I presume I need to change a security setting somewhere, but what and where?
    Thanks

    I wonder--what would happen if you launched FB4 as an administrator?  Right click on the icon and say "Run as administrator."
    Does it publish the file correctly when running as administrator?

  • Desktop AIR app and Facebook login

    I try using this lib https://code.google.com/p/facebook-actionscript-api/, but when I call FacebookDesktop.init("820024968051122",loginHandler); I get error:
    code: 2500
    message: An active access token must be used to query information about the current user.
    type: OAuthException
    If I call FacebookDesktop.init("820024968051122",loginHandler,"test_user_token"); then all work fine, but how I get token if user is not log in?

    Thanks for the answer.  How exactly Flash Builder is running is a little clearer to me now.  I checked and the timestamps were indeed being updated correctly.
    This helped me to look elsewhere for the issue.  I actually now think it may have to do with mobile home sync that I have going through OS X.  Whenever the sync runs, FB seems to launch an outdated (as in hours ago) version of the app.  Despite the fact that the sync is not pulling in new files, it seems to be the issue.  If i stop the sync I start seeing the current version of the app again when I run the debugger.  So I think its just the OS causing my problem (although I still don't completely understand why exactly the issue would manifest itself in FB).  Fortunately I can recreate the issue every time I run the sync, so the problem is consistent at least!
    Thanks again for your help.

  • Detecting if the Air App is already running when clicking on start shortcut

    I have a question . Is it possible when starting up an air application to get  info if this Application is already opened  ? And if it is posssible how can I send notification or any kind of invocation to that opened application about that the user tried to start up the application . In my scenario I have got the Application that will run most time in minimized mode ,so it will happen that the user ,after some time , will not pay attention that the Application is already opend and will try to start it again . I want that when he attempts to do so the minimized  Application will reopen .
    Any Advice will be very appreciated !!!!
    Michael

    AIR app can register for Invoke event. This event is dispatched when the app is started initially . Also, when you try to start an already running app, the running app would get an invoke event, indicating that the app was tried to be started again. You can use this to achive the functionality you desire.

Maybe you are looking for

  • Letter of Credit not copying from Quotation to Sales order

    Hello, I have attached a LC to a Quotation. When i am making an order with reference to the Quotation, the LC is not copying from Quotation to the Sales order. Kindly help. Regards, Shahzad

  • Power saving mode / and broadband disconnecting pe...

    I have recently started using the power saving mode and noticed that our BB speed has gone down to 2.4 from 2.9.  While I know this is not a big reduction we had a lot of problems earlier in the year with V04 messages cos our speed dropped to around

  • JMS GUI Support?

    In SAP, is there any GUI support for JMS to create queues, topics, etc? Thanks

  • Where is External Connector Property?

    I'm looking into implementing an External Navigation Connector which will fetch the navigation nodes from an external system for the middle of the navigation hierarchy. According to the documentation ([Adding External Connector Nodes|http://help.sap.

  • SQL Query to update UDF

    Hi all Can anyone please assist me here , on my db i have three UDF's linked to one table. These UDF's are for routes - when you select the route code the query must update the route name and the driver name . This info is all in one UDT. Thanks