Flash command when exiting

Hi all,
hope everyone is well, have a question that I have a very strong feeling will turn out to be impossible to do but I thought I may as well ask see if anyone knows anything.
Is it possible for a flash program to know when it is closed when embedded in a webpage?
Basically I have some variables which get updated whilst the user is navigating around my program, and I want that once they have left, those variables are saved. I'm only looking to save a set of variables, which is likely to be a small 10~ item array or a series of text variables, but what I really want is the variables that are saved to be accurate when they leave
logic is saying to me that this is probably just not doable but I've been surprised before
Anyone know of anything?
Cheers

It will be them just navigating away from the page, I'm working on the assumption that they will just leave at any point, and as the program will be embedded into a webpage, they are likely to either close the page down or just navigate away. I realise its a long shot and I'm less than hopeful I can get it to do exactly what I want. Its not absolutely essential but ideally i'm looking to do what ive suggested
I've had an idea just recently that if i can create a function on the browsers body onunload method, which can call a function within the flash program, that would logically be the time to get the variables, thats just a theory off the top of my head.
But basically they are unlikely to close the program by doing anything to the player itself unfortunately

Similar Messages

  • Flash crashing when using Command + Option + S for Scale and Rotate?

    Flash crashing when using Command + Option + S for Scale and Rotate?
    It's happening to me when I use those hotkeys
    Please let me know if it's happening to you too.
    I don't know the cause but I need a fix.
    I'm using Adobe FLASH cs6 for Mac
    My computer:
    Mac mini
    Mid 2011
    Software  OS X 10.8.1 (12B19)
    -Line

    With all due respect to your totally coindescending reply, this is a bug in Flash. Happens every 4-5 times I use that menu item. Been happening for months, but  we just installed a Brand new iMac (1/13). Quadcore 3.4 16G RAM and 1TB Fusion drive. Fresh install of CS6. Not running any other 3rd Party Software. Problem STILL happens in new Flash docs with small, simple vector Graphics.
    So instead of blaming the users computers, how about you guys just fix the effin' problem? Thanks.

  • Random blue/red flash on screen when exiting apps

    Hi,
    I have an iphone 6 64gb with ios 8.1. I encounter a weird blue and sometimes red flash on screen when exiting app (specific to galaxy empire only). It looks like the blue/red screen of death but just a very quick flashing. so far no other problems occured but it sokehow makes me uncomfortable especially the phone is only less than 3 weeks old. Is it a hardware problem?

    You might want to read/post about this here: http://discussions.apple.com/forum.jspa?forumID=1114

  • Wallpaper is flashing when exiting apps to Home Screen

    My Wallpaper will go flashing whenever I exiting apps to go to Home Screen. Just thought the bug comes from enabling WiFi, but after disable wallpaper, the symptom still exist.

    Hi and welcome to the community! Since you're new please be sure that you have checked out our Discussion guidelines.
    What type of wallpaper are you using? Is it a preloaded/live wallpaper? Is the wallpaper flashing several tiems? If not, I think the reason why it flashes is because some apps are using another resolution than the home screen. And when you exit an app, the home screen need to restore the right resolution.
    You might seen the same thing happen on a PC when you tab out from a game or similar.
     - Official Sony Xperia Support Staff
    If you're new to our forums make sure that you have read our Discussion guidelines.
    If you want to get in touch with the local support team for your country please visit our contact page.

  • Where is the "done" button in Flash CS4 when using Flash Builder 4's new flash component or container?

    The documentation for Flash Builder 4 beta says that after opening flash from flash builder, I should click a "done" button in flash and flash should close and what I created in flash should be included as a component or container in Flash Builder.  Using the Flash Builder 4 beta on Windows, when I click on the "create in flash" button on the properties panel for either the new flash component or container, Flash CS4 opens, I create something in Flash and no "done" button is present.  Nor is anything present in the menus resembling a "done" option.  Where is it?

    Hi Jeffrey:
    Still no done button.  Now under commands in Flash I can convert symbols to flex components and containers and these show up in the Flash library.
    Thanks:
    Jim
    Date: Wed, 30 Sep 2009 09:58:10 -0600
    From: [email protected]
    To: [email protected]
    Subject: Where is the "done" button in Flash CS4 when using Flash Builder 4's new flash component or container?
    Hi,
    You may need to install FlexComponentKit.mxp to your Flash CS4 beforehand.
    Jeffrey
    Date: Tue, 29 Sep 2009 17:04:36 -0600
    From: mailto:[email protected]
    To: mailto:[email protected]
    Subject: Flex Where is the "done" button in Flash CS4 when using Flash Builder 4's new flash component or container?
    I apparently didn't get one.  I've looked under various workspace configurations.  Another thing that seems odd is that when Flash opens I get the opening panel that allows me to select the type of file and version of AS I want to use.  I select new file with AS3.  Any ideas on why the "done" button wouldn't be present and if the opening panel is what I should expect on opening Flash after clicking the "create in Flash" button?
    >
    >

  • DSM Terminator issue -  when exiting, user sees "about blank" screen

    This issue is being experienced by two of our Portal users. When the user exits the portal, they get an "about blank" internet explorer page that is minimized in the Windows taskbar. When viewing the "about blank" page properties, there is no information about the page. It allows you to maximize it into a blank white screen or close it out.  Also, before this page is loaded, when exiting the Portal a quick screen flashes before the Portal screen closes. The screen basically says
    ****Closing sessions... Transmission protocol, DSM Terminator v.6.060 (sync)  (long portal address)   Request PREPARED for sending via client  (Finished 1 request(s) distributed***** 
    Both users experience this issue everytime they exit their Portals. We have tried numerous troubleshooting measures to fix the problem and we've isolated it to their specific computers, not their usernames.  We have had this before and reformatting does fix the issue, but we want to know how to avoid reformatting and just fix the one issue.  We've scanning the computer for spyware/viruses, checked their startup configuration, cleaned temp/temp internet/cookies, tried different user names.  Thanks for your help on this!

    First off the DSM terminator window is completely normal.  This is client side javascript that closes the connection to R3.  This can be run server side if you need it to but doesn't work if the connection is done over SSL. 
    As far as the popup window, I would try and restore the defaul IE settings.

  • [solved] hook to run commands when user logs in? (before bash profile)

    Is there any way to run commands when a user logs in but before the bash profile is sourced?
    For example, I have a user account with a home directory on /tmp. When the user logs in, the home directory might not exist so there will be no .bash_profile to source. I want to run a script to create the directory if necessary and copy some files into it. How can that be done?
    I thought of putting something in /etc/profile or /etc/profile.d/, but I would like to run something before the user's shell and environment become active.
    I can use /etc/rc.local to do what I want, but I would prefer a hook to ensure that everything is set right when the user logs in.
    Any ideas?
    *edit*
    Solution
    In my case, I found that I could write my own shell script and set it as a login shell. In the script, I can configure everything I need before launching the interactive shell, then clean up anything after it exits.
    Last edited by Xyne (2011-12-10 19:34:07)

    Thanks, dammannj. PAM could probably do what I need but I think I have found a simpler solution (see original post).

  • I have a Dell Inspiron 1545 and I can't download Adobe flash or Adobe acrobat reader, when I try to play my games it says update flash and when I try to download it the screen comes up blank

    I have a Dell Inspiron 1545 and I can't download Adobe flash or Adobe acrobat reader, when I try to play my games it says update flash and when I try to download it the screen comes up blank

    Try the offline installers:
    Flash Player for ActiveX (Internet Explorer)
    Flash Player Plug-in (All other browsers)
    For Adobe Reader: http://get.adobe.com/reader/enterprise/

  • Firefox keeps asking to install Flash. When I attempt this, I get an error message stating it failed. Flash works in Google Chrome, but not FF.

    I don't know what happened but Firefox keeps asking me to install Flash. When I attempt to install the program, I get an error message that it has failed. There is no other information given and I'm just left hanging. I've tried this over twenty times with the same results. I've even uninstalled and re-installed Firefox, but this continues. I'm unable to watch any YouTube videos. I then installed Google Chrome and all is working fine. I can't stand the Google company though and really with I could continue using Firefox. Why is GC working for me any FF not? How can I fix this?

    Google Chrome comes with its own Flash plugin, so doesn't require to install Flash separately.
    You can find the latest Flash player versions for Firefox on this page.
    *http://www.adobe.com/special/products/flashplayer/fp_distribution3.html
    You may have to run the Flash installer as Administrator (right-click: Run as Administrator) and make sure that Firefox and possibly other browsers are closed.

  • How can I remove the thin black border of Flash movie when viewed in a browser?

    There is a thin border at the top and left margins of my Flash movie when the .html is viewed in a browser. How can it be removed?
    Here's the movie.
    One solution suggests replacing some code, but the code they suggest replacing doesn't even exist in my html file.
    I have found questions similar to mine being asked all over different forums, but their solutions either don't work, or like the above, don't really apply. For such a common problem, finding the solution is getting a little frustrating.
    I'm using Flash CS3 on a Windows PC rrunning XP professional.

    Okay, I found the answer. It turns out that when I made the buttons in Flash (so the movie would have clickable links), the default stroke color was set to black. Change it to white and the outline is gone.
    As for appearing only on the top and left of the movie - for some reason the bottom and right is being cropped a bit when it's placed in to the html page. But that's a topic for a different discussion.

  • I can no longer watch netflicks on firefox I get a message about not having the latest flash drive when I have the latest flash ddrive. I can use in in internet explorer why no firefox?

    I can no longer watch Netflix on fire fox. I keep getting a message that Ineed the latest version of firefox. I have down loaded the lates version. I also have internet explorer and I can watch netflix on it. Why is fire fox telling me I need the latest version of flash drive when I have it?

    Please [https://support.mozilla.com/en-US/questions/901535 see this.]

  • IPod nano g6 keeps flashing on when turned off and it lo

    Whenever I wear it (It's a watch i ordered the iwatch strap) and turn it off (I'm not playing music), it flashes on after 30 secs and it keeps doing it over and over. Then when i checked it after 2 hrs (or was it 1?), and it was completely shut off. Please help? (it won't flash on when i put earphones on and music plays, but i just want to wear it around (without playing songs) casually without it running out of battery quick.

    This only happens "Whenever I wear it"?  So, if it's sitting on the table, it does not happen?
    If movement is causing the problem, maybe it's the Shake to Shuffle feature misbehaving.  Try turning it OFF in Settings - Music to see if it makes a difference.
    Do you have any headphones with remote control buttons on the cord connected when this happens?  If so, if you connect a different set of headphones (any type), does it still happen?

  • Some apps require Adobe Flash; however, when I try to inst all, get message saying my iPad (version 7.0) can't support Adobe Flash, so can't access. Any way around this?en I attempt to install, get message that my iPad cannot support such.  I have a

    Some apps require Adobe Flash; however, when I attempt to upload the program, I receive message to the effect that my iPad (version 7.0)  cannot support Adobe Flash, so I am unable to view some attachments sent.  I just bought my iPad recently and am still figuring everything out. If there is some solution to my problem, I would appreciate being advised. Thanks.

    https://discussions.apple.com/thread/5461191?tstart=0

  • How to remove white line that appears on background of flash file when viewing in powerpoint?

    When importing a swf file into powerpoint with a background colour a thin white line appears on the top of the flash movie when played in powerpoint. The white line disappears when you click onto another slide and back again, but always appears when initially playing the slide. Anyone have any ideas why this is and how to remove it?
    Any help is appreciated.
    Dom

    Doesn't the Location Bar (URL's) also disappear in the Add-ons Tab? <br />
    Separator or border used to delineate the User Interface (Toolbars) from the content area.
    Contact the developer of Tree Style Tabs. If that white line doesn't appear until you click on a Tab, I would call it a Bug or glitch in that extension.

  • My mini ipod appears off and not respond to any commands when pressed the buttons to reset, apple logo appeared and then the apple support site and it shuts down. already tried all the steps, but none worked, and when I plug it into my computer it does no

    My mini ipod appears off and not respond to any commands when pressed the buttons to reset, apple logo appeared and then the apple support site and it shuts down. already tried all the steps, but none worked, and when I plug it into my computer it does not appear in the iTunes bar. what do I do?

    If MacKeeper corrupted the Recovery partition then even I underestimated its potential for damage. Garbage "cleaning" apps will cause misery but I have not found that the Recovery partition to have been affected by using MacKeeper or anything like it. I doubt that it did so, but I have learned not to underestimate the potential for such things to result in system corruption.
    Before concluding your Mac has a hardware failure, try booting OS X Internet Recovery by holding command option r on startup (three fingers). That will force your iMac to bypass the Recovery partition altogether, and convey the ability to create a new one.
    An Internet connection will be required (wired or wireless).
    At the Mac OS X Utilities screen, select Disk Utility. Select your startup volume (usually named "Macintosh HD") and click the Repair Disk button. Describe any errors it reports in red. If Disk Utility reports "The volume Macintosh HD appears to be OK" in green then you can be reasonably (though not completely) assured your hard disk is in good working order.
    Assuming the HD remains usable you can then use Disk Utility to erase it. Reinstall OS X, restore your essential software and other files, and don't reinstall the junk.

Maybe you are looking for

  • PAL DVD Issues

    I'm not sure if this question is for this forum but I'll give it a shot. My original FCP Project was an PAL HDV Project. Once I finished editing, I put the sequence in a DV PAL sequence, rendered it and outputted as a FCP file. I put that file in com

  • Solution Manager for SD consultant

    Hello experts  is solution manager is mandatory for sd consultant? If we learn is it helpful? how much did we need to learn is it entry level or indepth ? what are the things it can give for sd consultant? is it added advantage for sd ? is it helful

  • Why my itunes can't detect application

    why my itunes can't detect application

  • Video/Audio Chats Don't Work (Screen Sharing as well)

    From the time that I got my mac, I have been able to both audio and video, although not screen sharing. I can live without screen sharing, but it would be nice to have if fixable. Now though, audio and video chats don't work at all. I always get an e

  • DDE Server Window Application Error

    All government agencies are having to apply FDCC (Federal Desktop Core Configuration) settings on our workstations, this is a set of policies (couple of hundred) which are set on each PC. After installing Homesite 5.5 or Homesite + on a pc with those