Remember Variable when closing app [HELP]

Can someone point me in the right direction how to store a variable value to be remembered when closing and re-opening the app again ?
Thanks!

try local shared objects

Similar Messages

  • How do I set up Firefox to remember urls when closing?

    How do I set up Firefox to remember urls when closing?

    Sorry, Right we don't have that option.
    We have only clearing the cookies and history from the Settings button.

  • IPhone 6 plus screen flashes blue when closing apps

    i noticed a strange glitch that frequently happens on my 6 plus whenever i remove apps from multitasking when the app is killed it blinks blue flash it happens mostly while playing games it dosn't happen all the time but it repeats again it is not like the people facing the blue screen of death its just a blink that happens in a fraction of second

    Does it happen with specific apps, or completely random?

  • Iphone 4 screen keeps rotating when closing apps

    It only started a few days ago but it's starting to get on my nerves.  My iPhone 4 screen keeps rotating when I go to close an app, and it rotates back when I go back to the home screen.
    I don't know why it's doing it, but was wondering if anyone did know.  And if so how to fix it?
    Thanks a bunch!

    It's fixed nevermind..

  • Iphone 4s stuck when closing apps

    Hi ! started to have this problem - when trying to close apps iphone gets stuck and need to reboot. rebooting doesnt solve the problem. Any ideas?

    Basic troubleshooting from the User's Guide is reset, restart, restore (first from backup then as new).  Try each of these in order until the issue is resolved.

  • Defunct username when updating apps - help?

    Wehn I try to update apps, the phone automatically puts up a now defunct username.  I no longer have that password or email address.  Settings has the correct username, but the app updates are impossible due to this hardwired/automatic defunct username.  HELP!???

    Hello, shrevejude. 
    Thank you for visiting Apple Support Communities.
    The applications that were downloaded are licensed to this old Apple ID.  Any updates that need to be processed for these apps will need to be processed using this Apple ID password.  You cant attempt to reset that password for the Apple ID via the steps in the first article below.  If you need assistance with this, see the second attached article.  You can also delete the applications in question and download them again with your new Apple ID.  However, this will cause any application data in those applications to be deleted and you may be charged if these are paid for applications.
    Apple ID: If you forget your password
    http://support.apple.com/kb/ht5787
    Apple ID: Contacting Apple for help with Apple ID account security
    http://support.apple.com/kb/HT5699
    Cheers,
    Jason H.

  • My macbook pro with the newest lion update does not wake up from sleep when closed? Help!

    It won't wake up from sleep, I have to shut down everytime!

    Go to apple store genius, make an appt and they will reset screen image, pram and smc..it solved my problem!

  • N8 after closing app...

    Does for everybody when closing app or coming to home screen switches to first screen? Its really annoying....
    Nokia Please Help N9 live!
    Please Fix:
    Browser Downloads
    Video Call
    Voice Deal
    Fm Radio

    A reset doesn't affect the OS (the software that runs the phone) it resets the phone to it's original state and removes any apps or settings and 'cleans up' the C drive. Re-installing the lates software, does just that, it installs the latest software again, and may resolve an issue. The hard reset is usually the best way to resolove performance issues, as it removes any conflicts, which is why I NEVER recommend a full backup and restore, as the restore may return the conflict that existed prior to the reset. People really shouldn't recommend a full backup as it can defeat the point of doing a reset. Just back up the basics, contacts, calendar and notes.
    If I have helped at all, a click on the White Star is always appreciated :
    you can also help others by marking 'accept as solution' 

  • Blue Screen after closing app in full screen.

    Blue screen appears when closing apps in full screen.
    Unable to getrid of them. Have to shut down computer and restart.
    When the app is reopened, the blue screen still remains.
    Anyone know how to fix this issue?
    Thank you

    Dear Customer,
    Welcome and thank you for posting your query on HP Support Forum.
     Please update the BIOS firmware and that will fix the issue.
    Please click on the below link to download and update the BIOS
    http://h20566.www2.hp.com/portal/site/hpsc/template.PAGE/public/psi/swdDetails/?sp4ts.oid=5056950&sp...
    I must inform you that these services are not endorsed by HP, and that HP is not responsible for any damage that may arise to your system by using these services. Please be aware that you do this at your own risk.
    Hope this helps, for any further queries please reply to the post and feel free to join us again.
    **Click the KUDOS star on left to say Thanks**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.
    Thank You,
    SJ_Bradley
    I am an HP Employee.

  • Need to clear form automatically when closing, otherwise it reopens with the data showing.

    I have just completed my first form A9 (address is)
    http://www.financialcounsellors.org/HUGS_Application_Form_to_FCAWA_3_pages.pdf
    I have a clear button which works fine (If the user remembers to use it)
    The problem is IF the user forgets to use the clear button. THE NEXT TIME the form is opened the information is still visible ?
    How can I set it so as the form will automatically clear when closing.
    Help..Please anyone.

    Not sure if this is what I.m after steve. The object is for persons to fill out the form on the web and then print it.
    The form will then be closed. Will makeing the form read only do that?
    I'm new to this so am still getting to grips with it.
    1. There are options in Acrobat to make fields Read only but how would you make the whole pdf document read only and still be able to do the functions I just outlined ?

  • My menu bar does not appear at the top of my homepage on a brand new 27" iMac only when i pull up an app. this does not allow me to shut down my mac when all apps are closed nor does it all me to use finder. any help would be awesome

    My menu bar does not appear at the top of my homepage on a brand new 27" iMac only when i pull up an app. this does not allow me to shut down my mac when all apps are closed nor does it all me to use finder. any help would be awesome

    Press the escape (esc) key to exit full-screen mode.

  • When closing Firefox, after reopening it, my tabs are gone, even though I have Firefox set to remember session.

    When closing Firefox, after reopening it, my tabs are gone, even though I have Firefox set to remember session. However, after several hours and opening and closings of Firefox, it will open tabs from the old session, for no apparent reason.

    You can check for problems with the sessionstore.js and sessionstore.bak files in the Firefox profile folder that store session data.
    Delete the sessionstore.js file and possible sessionstore-##.js files with a number and sessionstore.bak in the Firefox profile folder.
    *Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    *http://kb.mozillazine.org/Multiple_profile_files_created
    Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost and you will have to recreate them (make a note or bookmark them if possible).
    In case you are using "Clear history when Firefox closes":
    *do not clear the Browsing History
    *Tools > Options > Privacy > Firefox will: "Use custom settings for history": [X] "Clear history when Firefox closes" > Settings
    *https://support.mozilla.org/kb/Clear+Recent+History
    Note that clearing "Site Preferences" clears all exceptions for cookies, images, pop-up windows, software installation, and passwords.

  • Passing Variable to air app when launch using Badger

    Hi all,
    I am going to desperately to develop my application. Hope someone can help me........
    I am using badger for air which I get it here http://www.adobe.com/devnet/air/articles/badger_for_air_apps.html and it launch my app correctly, but I can't pass any variable into my app when launch.
    I have read the instruction and adding some code like this :
    on index.html(show my badge installer):
        var so = new SWFObject("AIRInstallBadge.swf", "", "215", "180", "9.0.115", "#000000");
            so.addVariable("airversion", "1.5");
            so.addVariable("appname", "Secure%205");
            so.addVariable("appurl", "http://localhost/testing/source/secure5.air");
            so.addVariable("appid", "examples.html.HelloWorld");
            so.addVariable("pubid", "B71ED76ECC937067D72BB9A0CDB516D1A8F43A9E.1");
            so.addVariable("arguments", "launch from browser");// this is my code
            so.addVariable("appversion", "0.1");
            so.write("flashcontent");
    on index.html(my initial content) :
    var urlMonitor;
    var urlReq;
    var invokeEvent;
    var applicationID = "myappid";
    var publisherID = "mypubid";
    var applauncarg;
    //var admin="admin";
    function doWindow()
    var options = new air.NativeWindowInitOptions();
    options.transparent = false;
    options.systemChrome = air.NativeWindowSystemChrome.STANDARD;
    options.minimizable = false;
    options.maximizable = false;
    options.resizable=false;
    var windowBounds = new air.Rectangle(0,0,air.Capabilities.screenResolutionX,air.Capabilities.screenResolutionY);
    var urlreq="http://www.example.com";
    var newHTMLLoader = air.HTMLLoader.createRootWindow(true, options, true, windowBounds);
    newHTMLLoader.load(new air.URLRequest(applauncharg));
    newHTMLLoader.stage.nativeWindow.alwaysInFront = true;
    newHTMLLoader.stage.nativeWindow.addEventListener(air.NativeWindowBoundsEvent.MOVE,handlem ove);
    newHTMLLoader.stage.nativeWindow.addEventListener(air.Event.CLOSE,onCloseCommand);
    urlMonitor = new air.URLMonitor(new air.URLRequest("http://www.example.com"));
    urlMonitor.addEventListener(air.StatusEvent.STATUS, onStatusChange);
    urlMonitor.start();
    air.NativeApplication.nativeApplication.addEventListener(air.InvokeEvent.INVOKE, onInvoke);
    //urlReq=new air.URLRequestDefaults.manageCookies = true;
    function handlemove()
    newHTMLLoader.stage.nativeWindow.x=0;
    newHTMLLoader.stage.nativeWindow.y=0;
    function onCloseCommand(exitingEvent) {
    var winClosingEvent;
    for (var i = 0; i < air.NativeApplication.nativeApplication.openedWindows.length; i++) {
    var win = air.NativeApplication.nativeApplication.openedWindows[i];
    winClosingEvent = new air.Event(air.Event.CLOSING,false,true);
    win.dispatchEvent(winClosingEvent);
    if (!winClosingEvent.isDefaultPrevented()) {
    win.close();
    } else {
    exitingEvent.preventDefault();
    if (!exitingEvent.isDefaultPrevented()) {
    //perform cleanup
    function onInvoke(e)
    //apparg=event.applauncharg.toString();
    //alert ('oK'+apparg);
    applauncarg = event.arguments;
    air.trace("onInvoke : " + event.applauncharg);
    //air.Introspector.Console.log( applauncarg );
    alert (applauncarg);

    sory, there is mistake here......
    the question isn't finish yet.
    function onInvoke(e)
    //my code
    applauncarg = event.arguments;
    air.trace("onInvoke : " + event.applauncharg);
    alert (applauncarg);//just to make sure the variable had been sent correctly
    My application running smoothly but there is no alert that show applauncharg variable.
    then I am trying to know if invoke event run correctly or not by adding code
    alert ("OK");
    and it works, so there is no problem with the event listener.
    does any one know if I missing something or any thing wrong with my code?
    sory, there is mistake here......
    the question isn't finish yet.
    function onInvoke(e)
    //my code
    applauncarg = event.arguments;
    air.trace("onInvoke : " + event.applauncharg);
    alert (applauncarg);//just to make sure the variable had been sent correctly
    I have get the answer. If someone need the source code, just Pm me and I'll give you my Source to help you.
    The first is to make sure that your action scipt code can handle the argument that passed by javascript.
    Make attention between invoke event and browser invoke event! it is almost same but they are different.
    If you type browser invoke event, it seems browser invokeevent doesn't recognized, but it works.
    The second is my mistake on source code. onInvokeevent shold be like this :
    function onInvoke(e)
    //my code
    applauncarg = .arguments;
    alert (applauncarg);
    -closed-

  • [Forum FAQ] Go to Start Screen/Desktop when closing Windows Store App

    After install Windows 8.1 Update 1, you will notice these things set by default even on touchscreen laptops and desktops:
    Windows 8.1 now boots directly to the desktop.
    Closing Windows Store Apps and go to desktop instead of Start Screen.
    Besides option “When I sign in or close all apps on a screen, go to the desktop instead of Start” since Windows 8, another new option in Taskbar Properties “Show Windows Store app on taskbar” is used to control closing app behavior.
    Features of "Show Windows Store app on taskbar" 
    When the setting is checked, all of the Windows Store apps that are currently running will display on taskbar. You can easily switch between Windows Store apps and your desktop and its applications through the taskbar. For mouse users,
    you can also access the taskbar within a Windows Store app. Just move the mouse cursor to the button of the screen, the taskbar pops up.
    When the setting is unchecked,
    Windows Store apps have no minimize button, only Close button
    Windows Store apps that are open are not visible on Taskbar
    Windows Store apps can still be pinned to the taskbar
    How do these two options work for closing app behavior?
    Modern app and Taskbar   setting
    OFF
    ON
    Boot   to desktop setting
    OFF
    Close goes to Start
    Close reveals the   app that was previously used, and eventually dead ends at the Desktop
    ON
    Close goes to desktop
    Close reveals the   app that was previously used, and eventually dead ends at the Desktop
    Know why “When I sign in or close all apps on a screen, go to the desktop instead of Start” does not work when “Show Windows Store app on taskbar” is checked on
    As MironV mentioned in the
    thread, Windows 8.1 Update is designed to introduce a number of changes for mouse and keyboard users that would help them use and switch between Windows Store apps alongside their familiar desktop applications. A lot of these changes only made sense when
    combined together, so they are toggled by one setting, which is “Show Windows Store apps on the taskbar.” This is usually enabled together with the first setting as a complimentary set of improvements for desktop users. When the setting is enabled, Windows
    Store apps are intended to feel more like regular maximized applications living on the desktop, though they are full screen only. For example, when you launch apps from Start, they appear on the taskbar until they are closed. You can also minimize them or
    switch between them by invoking the taskbar.
    Please understand that unchecking the “When I sign in or close all apps on a screen, go to the desktop instead of Start" setting has no effect on close and minimize behavior when the “Show Windows Store apps on the taskbar” setting is checked, since
    they are controlling two independent things. If you tend to use only one Windows Store app at a given time, it may seem like we’re not respecting the setting by going to the desktop.
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    I don't know if I'm the only one, but on my desktop (using mouse and keyboard only) I like to have my Start screen as my main screen.  To ensure this I made sure to uncheck the "When I sign in or close all apps on a screen, go to the desktop" box and
    check the "Show Start on the display I'm using when I press the Windows Logo key" box. I also really like having the task bar appear at the bottom even when I'm using a modern app.  Based on the settings I've chosen (i.e., boxes I've checked or not checked),
    I would expect to be taken back to the start screen and not the desktop whenever I close an app.  From what I've read from your response and from others in this thread, in order to accomplish this function (i.e., closing an app and going directly to the
    start screen) I need to uncheck the "Show Windows Store apps on the taskbar" setting.  By doing this I get the functionality I was looking for when the apps are closed and I get sent to the start screen.  However, I am now not able to see the taskbar
    when I'm in a modern app or when I'm on the start screen.  This seems counterintuitive/confusing as many have mentioned.  Not to mention it creates an additional step for users to get back to the Start screen.
    All I want to do is (1) use my start screen as my main screen, (2) see the taskbar when running whatever app I'm using (e.g., modern), and (3) go back to my start screen (and not the desktop) when I close an app.  It would only make sense that I should
    get these results if I leave the "Show Windows Store apps on the taskbar" box checked and the "When I sign in or close all apps on a screen, go to the desktop instead of Start" box unchecked; but unfortunately this is NOT the case.  I really hope that
    an update fixing this is coming sooner rather than later because this is really annoying.

  • Desktop order changes when closing any app

    Hello to all.
    When i use multiple desktops and i closing any app (from top menu or from dock) the order of desktops is changing, usually desktop on that i close the app is swapped with near desktop. For example, i have four desktops 1 2 3 4, when i close an app on desktop 3 desktop order became 1 3 2 4. This happens only when i close an app from unactive desktop, for example, if i now on desktop 1 and closing app from desktop 3 while still remaining on desktop 1.
    Maybe someone tell me how can I fix?

    It's a normal feature. When the Mac is connected to the projector, change the desktop picture first. The settings should be remembered that way.

Maybe you are looking for