Exit button code not working in FireFox

Hi,
I am writing a code on exit button , but it is working in IE
but not in FireFox---
code is :
import flash.external.ExternalInterface;
ExternalInterface.call("window.close","");
Also I tried this:
var urlString:String = "javascript:window.close();";
var request:URLRequest = new URLRequest(urlString);
navigateToURL(request, "_self");
Please tell what to write so that My Exit button works in
FireFox also.

have you confirmed that this javascript code ( only
javascript code in html, no swf) works?
in some cases the window.close() statement works only for
popup windows. so make sure of it.

Similar Messages

  • Exit button code not working in published captivate file

    Hi,
    I have created a elearning module in captivate 8. I have an exit button at the end of the module. The button has the inbuilt code ''on success - exit''. When I publish this file to swf or AICC format, this exit button doesnot work. Please help!

    have you confirmed that this javascript code ( only
    javascript code in html, no swf) works?
    in some cases the window.close() statement works only for
    popup windows. so make sure of it.

  • HTTP Button Submit not working in FireFox

    I am using Adobe Life Cycle Designer to make a Form.
    I have a Problem that the HTTP Submit Button is not working in FireFox. It works with IE but not with FireFox. I have also checked this with Button Submit Control.Please Help me.

    You are in the wrong Forum. You need to post your issue in the LiveCycle forum.

  • Tab and control buttons do not work in Firefox (they work in other browsers) AND I switched to a new keyboard.

    The tab and control buttons are not working the Firefox browser (My browser is up-to-date). The buttons work in IE and Chrome, however, before I realized that, I even switched out my keyboard to a brand new one hoping it would solve the issue.

    Thank you--there were a few random extensions I had not added (spyware, maybe?). Once I removed those the issue was fixed!

  • In Editable ALV the BACK/CANCEL/EXIT buttons are not working?

    Hello,
    I wrote a editable FM based ALV, working fine that when user changes the data and press SAVE button, values are transfering into prog. But, i need to put a validation that, if user changes the values and press BACK/CANCEL/EXIT button, i need to popup the message that "Do you want to save changes", my PF-STATUS is good(because, SAVE is working).
    But, its not working that when user done changes and press BACK button (forgot to press SAVE button), system taking me to selection screen/screen 0!! I my code is as below,
    FORM pick USING v_ucomm     TYPE syucomm
                                         it_selfield TYPE slis_selfield.
      DATA: v_answer TYPE char1.
      READ TABLE it_z_tbl  INDEX it_selfield-tabindex
       INTO w_z_tbl.
      CASE v_ucomm.
        WHEN '&IC1'.
            " working fine this functionality
          ELSE.
            MESSAGE i000 WITH 'Double click on key field'.
          ENDIF.
        WHEN 'SAVE'.
            " working fine this functionality
        WHEN BACK' " OR 'CANCEL' OR 'EXIT'.
          PERFORM popup_for_user_decision CHANGING v_answer.
          CHECK v_answer = '1'.
          PERFORM now_update.
      ENDCASE.
    ENDFORM.     
    when i put the break point on the first line of this piece of code, its not stopping on pressing BACK/CANCEL/EXIT buttons!! (its stoppig for SAVE press or double click)
    Its stopping at this point,
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'.
    EXPORTING
    i_callback_user_command  = 'PICK'
    IMPORTING
    EXCEPTIONS
    IF sy-subrc <> 0 =================> its stopping at this point!
    ENDIF.           
    Pls. let me know why system is not recognising that i hv a PICK form (SAVE and Double clicks are working fine)?
    Thank you

    Hi,
    Actually BACK is standard user command so it is not stopping and going to selection screen.
    Give some other use command like 'BCK' and try....

  • Captivate 7 exit button does not work when published to LMS

    I recently published a course using Captivate 7 and uploaded it to our LMS.  During the review of the course it was noticed that the Close or Exit button on the controller did not work in IE.  However, it did work in Chrome.
    I have looked through this forum and found that there were similar issue with older versions of Captivate.  However, we have course published with Captivate 6 on our LMS in which the Close or Exit button does work.
    Does anybody have a solution for this problem?  Do we know if there is an update scheduled to fix this problem?
    Please let me know
    Dawn

    1.  Create a button in Captivate and assign a javascript call to "MyExit()"
    2.  Create a .js file called CourseExit.js.
    3.  Place the following code into that file.
    function MyExit()
      var SD = window.parent;
    if (blnReachedEnd == false && confirm("Would you like to save your progress to resume later?")){
    SCORM2004_CallSetValue("cmi.exit", "suspend");
    SCORM2004_CallSetValue("adl.nav.request", "suspendAll");
      else{
    SCORM2004_CallSetValue("cmi.exit", "");
    SCORM2004_CallSetValue("adl.nav.request", "exitAll");
    Unload(true);
    4.  Place the CourseExit.js into the "assets/js/" in the published folder
    5.  Add "<script language="JavaScript1.2" src="assets/js/CourseExit.js"></script>" to the html file that was output on the publish.
    I was able to set this up on the set up files on the local hard disk but so all I had to do was create a button and add the "MyExit()" code to the button, but when the next update came out it reset the hard disk files.  So, I have just resorted to updating the output file as seen above.
    Hope this helps.
    Garrett

  • The restore previous session button is not working on Firefox on any of my three machines. How can I fix this?

    I have a desktop at work, and a desktop and laptop at home and just recently the "restore previous session" button that comes up when I use the desktop icon to start a Firefox Web browser session does not work. It is there and I click it but nothing happens. I have Windows 7 on the two computers at home and thought that is what I had on this computer at work, but it may be Vista. It's not XP.

    Had this trouble myself, just did some research and solved it!
    Go to the '''Help''' menu, go to "'''Troubleshooting Information'''"
    On the new window, click "'''Open Containing folder'''" next to ''Profile Directory'' (This opens the folder on your PC where Mozilla stores some settings, like a tab history)
    In the new Windows Explorer window, Find the file "'''chromeappsstore.sqlite'''"
    You'll want to close Firefox and then '''delete''' that file (don't worry, Firefox will create a new one, and you won't even lose the open tabs)
    Start Firefox again and the button should work!
    (For completeness's sake, the profile folder for windows7 is: C:\Users\Tiberion\AppData\Roaming\Mozilla\Firefox\Profiles\c6xu23fh.default\
    where you replace Tiberion with your own username, and the random characters in the final folder will be different.)

  • My auto-scroll 3rd button does not work in FireFox 3.6. It worked in previous FF versions.

    I have updated FireFox. My auto-scroll 3rd button now does not work in this version, 3.6 I have updated my mouse and checked the TOOLS "Use auto-scroll"... still it does not work.
    I need my equipment to work. PLEASE FIX

    I hate to sound like a broken record, DONE THAT ALREADY. _ _ _
    I've ALSO learned to reboot after an uninstall then manually delete any residue in said uninstalled program. I've also gone as far as REGISTER searching for program residue and deleting that WITH reboot of coarse to be sure nothing has gone wrong. _ _ _ NEXT suggestion? I suggest FireFox fix there software. _ _ _ BY-THE-WAY,... I have also gone through my mouses buttton choices for my #5 button. Everything works but the "Auto-Scroll". One tab down/up/right/left works, one page down/up/left/right works. _ _ _ I used recently tried and successfully used the Auto-Scroll in Netscape, Opera, My Browser, Ace Browser, Chrome, and 2 others that escape my memory. _ _ _ PLEASE READ and understand this. >>> It's FireFox's software that is stopping this, not my mouse or PC.

  • Customized Button code not working on selection screen.

    Hello Experts,
    I have a button on the selection screen next to Execute button on the Application Tool Bar.
    I have written some validations on the button.It was defined on the PF-Status and its funtion text i have given as 'Show'.
    But the problem is that the code is not working.When I execute the button,the screen just remains their.
    The sy-comm always returns the value of 'UCOM' for whatever even takes place on the screen.The execution of the program does not stops their in debugger.
    Can anyone help me with some sample code and also provide the value of sy-ucomm which i should use for the customized button.
    Good points will be rewarded.

    Here is the short program which will show how to do it. You are simply checking for the USER-COMMAND value CHK and changing it to ONLI which is the F8 button, then the START-OF-SELECTION will be fired and you can output the list.
    REPORT zyou_0001.
    TABLES:  sscrfields.
    SELECTION-SCREEN PUSHBUTTON 2(10)  pbut1 USER-COMMAND chk.
    AT SELECTION-SCREEN OUTPUT.
      pbut1 = 'Test This'.
    AT SELECTION-SCREEN.
      IF sscrfields-ucomm = 'CHK'.
        sscrfields-ucomm = 'ONLI'.
      ENDIF.
    START-OF-SELECTION.
      DO 10 TIMES.
        WRITE:/ sy-index.
      ENDDO.
    Regards,.
    Mohammed

  • The "Exit" button is not working on my LMS

    The "Exit" button in Captivate doesn't work once the course is uploaded to my LMS (Meridian).  Any ideas what the problem might be?  All the other buttons in the course work as advertised once uploaded.
    Thanks.
    Jay

    You have identified the problem. If you have Warranty or AppleCare coverage, make Genius reservation and take or send to Apple for resolution. Troubleshoot. When iPhone 5 is open, the home button contacts are present right there. With volt meter placed on home flex you can see if pressing home button completes the circuit. You can bridge the dock home button contacts and see if it actually causes response in the iPhone. If not dock or its contacts are faulty or logic board is faulty.

  • Loading multiple SWFs and storing them (code not working under Firefox 23 and Chrome)

    Hey guys,
    Anyone has any idea why this code suddenly don't work anymore? (It works under internet explorer but not firefox and chrome
    The code under is placed on my main swf to preload all my external swfs and store them for not having to wait too long to access them.
    Thx guys.
    I took the code from here btw: http://www.beautifycode.com/the-finer-art-of-loading-2-handling-multiple-swfs#snippet
    I'm running flash player 11.8.800.94... It used to work under Firefox and Chrome
    var _swfLoader:Loader;
    var _swfRequest:URLRequest;
    var _swfPathArr:Array = new Array("00.swf", "01.swf", "02.swf");
    var _swfClipsArr:Array = new Array();
    var _swfTempClip:MovieClip;
    var _loadedSWFs:int;
    startLoading(_swfPathArr);
    function startLoading(pathArr:Array):void {
    _swfLoader = new Loader();
    _swfRequest = new URLRequest();
    loadSWF(pathArr[1]);
    function loadSWF(path:String):void {
    setupListeners(_swfLoader.contentLoaderInfo);
    _swfRequest.url = path;
    _swfLoader.load(_swfRequest);
    function setupListeners(dispatcher:IEventDispatcher):void {
    dispatcher.addEventListener(Event.COMPLETE, onSwfComplete);
    function onSwfComplete(event:Event):void {
    event.target.removeEventListener(Event.COMPLETE, onSwfComplete);
    _swfTempClip = event.target.content;
    _swfTempClip.customID = _loadedSWFs;
    _swfClipsArr.push(_swfTempClip);
    if(_loadedSWFs <_swfPathArr.length - 1) {
    _loadedSWFs++;
    loadSWF(_swfPathArr[_loadedSWFs]);
    } else {

    Hi kglad,
    The problem was coming from my server.
    I recently played with some settings  from a "cache control tool" offered by my hosting but i thought i had it back at default. Turns out i must've missed something. Now i have the .html caching on and everything works good on all browser.
    I have another question tho...
    I'd like to know if there's a way to cache an html file without having to ask my hoster to cache all of my htmls...
    I'm using this code now but maybe there's a way to add something that will cache this page specifically?
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title>title</title>
    <script language="javascript">AC_FL_RunContent = 0;</script>
    <script src="fluid_site.js" language="javascript"></script>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
    <link href="style.css" rel="stylesheet" type="text/css" media="screen"/>
    </head>
    <!--url's used in the movie-->
    <!--text used in the movie-->
    <!-- saved from url=(0013)about:internet -->
    <script>
        if (AC_FL_RunContent == 0) {
            alert("This page requires fluid_site.js.");
        } else {
            AC_FL_RunContent(
                'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
                'width', '100%',
                'height', '100%',
                'src', 'index',
                'quality', 'medium',
                'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
                'align', 'middle',
                'play', 'true',
                'loop', 'true',
                'scale', 'showall',
                'devicefont', 'false',
                'wmode', 'window',
                'id', 'index',
                'name', 'index',
                'menu', 'false',
                'allowFullScreen', 'false',
                'allowScriptAccess','sameDomain',
                'movie', 'index',
                'salign', ''
                ); //end AC code
    </script>
    <body>
    <noscript>
        <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="100%" height="100%" id="index" align="middle">
        <param name="allowScriptAccess" value="sameDomain" />
        <param name="allowFullScreen" value="false" />
        <param name="MENU" value="false">
        <param name=wmode value=window>
        <param name="movie" value="index.swf" /><param name="quality" value="medium" /><embed src="index.swf" quality="medium" width="100%" height="100%" wmode="direct" name="fluid_site" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
        </object>
    </noscript>
    </body>
    </html>
    Thanks

  • On the Rapidshare website the yellow 'upload' button is not working in Firefox 12. It worked in former versions and it works in Internet Explorer.

    I have sent an e-mail to Rapidshare. They have tested the button and it works fine. Rapidshare recommended to try another web browser. I have tried Internet Explorer and the button works fine. It's probably a Firefox 12 problem. In former Firefox versions I didn't have the same problem.

    No problems here on Linux.
    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Adobe Form Exit Button does not work

    When I select a PCR from the Portal and review the Adobe Form - when I click on the exit button - it does nothing.
    How can I fix that problem?

    Hi
    are you using  standard MSS and Homepage frame work for PCR form or created your own iview in portal?
    what is ther version of Software using?
    thanks
    Gopal

  • Auto-scoll (middle mouse button) gone/not working in Firefox 20/Windows 7 64-bit?

    duplicate of [/questions/956896]
    I recently upgraded both my work PC and my home PC to Firefox 20.0.1. My work PC (Win XP 32-bit) works fine, but my home PC (Win 7 64-bit) no longer allows me to auto-scroll when I click the middle mouse button (it does nothing). I have tried restarting Firefox with all addons disabled, as well as a totally fresh install, but haven't had any luck. To clarify, the mouse wheel itself still works as it should, it's just clicking it in to auto-scroll that's the problem.
    Has anyone else experienced this?
    ##EDIT##
    Please delete this (double post)

    Did you check the setting?
    *Tools > Options > Advanced > General: Browsing: "Use autoscrolling"
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Skype button code not working

    This week I had an email from skype saying that the old api code for showing status and calling was going to be retired on 15th May
    so i followed the instructions and the new cose wont work
    I chat messaged the support team, and they were unhelpful - has anyone used the new code and goit it working yet?
    I now have a "contact up" page on my site that is blank
    I'm a skypepro user

    HI 
    I managed to get it working by updating my Skype application and following these instructions
    https://msdn.microsoft.com/en-us/library/office/dn745883.aspx#skypeui

Maybe you are looking for

  • After I installed 4.0.1 I can't install add-ons. I have tried to reinstall firefox but it wont help. What is the problem?

    '''My computer:''' 'Mac OS X' Version 10.5.8 Processor: 2,53 GHz Intel Core Duo Memory: 4 GB 1067 MHz DDR3 When I try to install an add-on, the installation bar won't move, and I can't remove/delete the progress too.

  • My ipod touch 1g doesn't respond

    Hi everyone, everything started when the home button got hard and stopped working, I found a tutorial of how to unassemble it and I found that the home button doesn't returned to its original position, so I put a plastic piece for fixing the home but

  • PC Suite File Sync

    I just downloaded the PC Suite 6.84.10.3 since I have been longin g file sync for long time. Unfortunately it seems to be working only partially. Changes on my E61i files are not identified as more recent from the suite and the older PC files are ove

  • Please support Surrogate Pair String data receive.

    Dear Sir, I would like to report a problem that when data which contains surrogate pair string is posted, BlazeDS servlet does not response. One of good example { 0xf0, 0xa9, 0xb8, 0xbd } utf-8 bytes. The charactor of the bytes is a japanese characto

  • Did my Macbook have a Kernel Panic? ! ? !

    Well let me start out by saying that this has happened twice. I put my computer to sleep by closing the lid. 5 min later I come back to the computer because I remembered that I had to do one small little task, so I open the lid to wake the computer a