Exit buttons in Presenter

I created an exit button to close a webpage at the end of an Adobe Presenter course using; javascript:window.close() and pubished it. On inserting the .swf file and publishing the Presenter file the exit button does not work.
Using: Captivate 5, Presenter 7.0.6

There are solutions available.  While not all browsers allow you to close a window without handles; you can close IE (for example) and then attempt to close other browers.  If they don't close within a reasonable period of time (e.g. one or two seconds) you can redirects your users to another page (e.g. either your website; or a simple document with instructions to the learner to close the browser using the X).
I do NOT recommend using Flash files with embedded "window.close()" or the like.  This will only work if the page that is opened is a simple page and not contained within a frameset (where you might need "parent.close()" or "top.close()", etc).  You'd have to edit your Flash file each time to make this work, if it works at all.  I recommend creating a Flash file that contains a reference to an actual function you create, such as "closeBrowser".  Then you create that function in the HTM file that contains the Flash-based files and you can easily modify that.
I discussed this issue and originally developed some certificates or quit buttons for AS2-based Presenter and Captivate files in an article on Connect Users: http://www.connectusers.com/tutorials/2009/02/certificates/. 
I have to update my articles (in my spare time) for AS3-based articles.  However, you could easily create a Flash-based button that calls ExternalInterface.call('closeBrowser'); or something similar.  The code you'd want to include in your HTM file is found here:  http://www.connectusers.com/tutorials/2009/02/certificates/JSCodeForHTMLTemplates.txt
The function to call from Flash is:  closeBrowser
-Andrew

Similar Messages

  • Exit Button not working in ESS

    Hi All,
    We have configured ESS in our landscape. When I go to any Overview/Edit/Review Page (in W-4 Tax, Add/Change dependents etc..), the Exit button which is present is not working. When I click the Exit button, it doesn't exit the current view,  but instead stays at the current location.
    Can anyone tell me the reason for this strange behaviour? Also, where should I make the code level changes for the Exit button work.
    Any kind of help would be greatly appreciated.
    Regards,
    Adren

    Hi Apparo,
    In onAction method of the Exit button, a call is made to the TargetExitApplication as follows:
    fpm.navigate(wdThis
    .wdGetFcNavigationInterface()
    .getNavigationTargetExitApplication());
    Also, the Exit button does work in the Address Overview/Edit/Review Page, but not in W-4 Tax and Benefits Enrollment.
    Any help on this problem !!!
    Regards,
    Adren

  • Exit button not working in Captivate 7 published output

    Hi. I am using Capivate v7 and am experiecing this problem with published output:
    I am using an Exit button that runs the standard javascript code
         javascript:window.close()
    so that the user can exit the presentation. The button works fine when I test out the presentation using Internet Explorer 8, but when I generate an output and try running the .swf file, the button does not work.
    How do I get an Exit button to work for the .swf output?
    Thanks,
    - Michael Fekete

    Yes, the close X does work 100% of the time. That's because the browser itself is just a window in the operating system. And you are commanding the window to close.
    And you might find yourself asking why that would work while the Exit button fails. And it would be that it's a security issue. Security prevents the window from closing because if a web site was nefarious, it could actually trap you by making changes and quickly closing the window and preventing you from browsing elsewhere.
    It's simple to turn off the Exit button. Just click Project > Skin Editor and clear the Close checkbox.
    Cheers... Rick

  • Exit Button not working through Workflow

    Hi,
    I'm using a Custom Business Object for triggering my workflow. I've used own transaction and used in my method. The workflow triggers and works properly. My problem is when i run the transaction code manually and click on 'Back' or 'Exit' button, it leaves program and comes out. But when i go through the workflow and execute from my inbox, it doesn't come out of the tcode i.e it doesn't leaves the program. It remains in the same screen...
    Can anyone know what is the problem ??
    Do i need to end the event  or something have to be done for exit ?

    You wouldn't happen to have a loop there, and steps that continue within a dialogue session, so it is actually new workitems you keep executing?
    Perhaps not, so the problem may be caused by the way you are calling the code that presents the user interface. When you submit a program and the program tries to leave the screen it will go to the screen it came from. But it didn't really come from a screen. I believe that may be your problem in this case.
    For a synchronous task I would recommend calling a function module - the function module can open a screen, or do whatever you need. The main point is that the function module can return a value to the method which can be used to determine whether you should call the macro exit_cancelled to indicate that the user cancelled execution.

  • 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.

  • Create an exit button that (really) works

    Hello,
    I'm using Captivate 6.
    I have create a playbar with trigger zone for "previous slide" button, "next slide" button and a "home" button.
    Trigger zone for previous and next slide are working perfectly in the preview and from the swf i have published.
    Concerning the "Home" button, it is in fact an exit button that closes the swf (an advanced action including cpCmndExit with 1).
    It is working from the preview but not at all from the swf (played in Chrome and IE9).
    Kind regards,
    Vincent

    I just went through a very similar struggle using the variable CPcmdexit =1 here was what I found and the solution for me.  First off, this variable only seems to work when using Internet Explorer (couldn't get it to work with chrome and didn't test firefox).  Luckily our LMS standard is the users use IE so that helped me passed the hurdle.  The second part of the equation though that took me forever to figure out was that in the Reporting Settings make sure that your success criteria is being obtained.  In other words my criteria was that the user viewed 100% of the slides before being complete.  This did not work for me because I had slides past my end point that the presentation jumped and returned from.  My resolution was to set it to the number slide instead of percentage that I wanted my user to view.  So success now looks like the user viewing to slide 37 (note: It seems although I didn't throroughly test that if you have hidden slides along the way to get the end number that it throws the count off since user can't actually view it).  When that criteria is met it seems that the Cpcmdexit button functions properly otherwise it is unresponsive.
    Hope that helps.
    Brian

  • Does the "Exit" button on the captvate playbar works?

    Hello there..
    The Exit button on my captivate play bar is not working?
    Any reason?
    tnx.
    Kartik.

    Hi there
    Sorry, but I have to disagree. The real answer here is that it's not as simple as that. Sure, sercurity restrictions may be one possible cause but the causes are many. It's my own understanding that it often has to do with the way the window presenting the Captivate was opened to begin with.
    Click here for more
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Exit Button o Next slide

    I have embedded flash file in power point presentation on one
    of the slides to full screen. When I play my PPS I cannot do
    anything other than the button on flash file. I cannot go to the
    next slide or exit. I have used a exit button in fla file with the
    following action script on (release) {fscommand ("quit");}, but no
    luck.
    The PPS will exit only if I press Esc button or Alt+F4 button
    on the keyboard.
    Please help me with the action script for next button and
    exit button in fla to be used for PPS on embedding swf file.
    Thanks

    Are you rapidly clicking forward or back before the playhead has stopped?  I've found this can cause problems like you're describing.
    If not, taking a blind shot...  Do you have any question slides in your project?

  • Add an exit button?

    Is there a way to add an exit button that will close the browser from within presenter? I want to add this to the last slide.

    Question/Score slides are bit special. Maybe have a look at this blog post: Buttons on Question/Score Slides in Captivate 6? - Captivate blog

  • 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....

  • Exit button not working in exe file made with Aggregator

    Hi,
    I created an .exe file using Aggregator in full screen mode but the exit button on the skin doesn't work. When I click the exit button, the dislay hiccups (wobbles a bit) but the file keeps playing and doesn't close. This is especially problematic since this occurs in full screen. The only way to exit is by hitting the Escape key on the keyboard. The exit button works fine in individual .exe files of the modules; it's just in the aggregated .exe file that the exit button doesn't work. Is there anything special I need to do to make the exit button work with Aggregator?

    Hi, this is more J2EE related stuff, SAP came with a solution but is taking ages to get the next page after the "Exit" button is pushed:
    Go to VisualAdnmin >server(n) >Services >Configuration Adapter >
    (Right side Pane) webdynpro >sap.com >tcwddispwda >PropertySheet
    default.
    Edit the property sheet and change the custom value for the property
    "sap.locking.maxWaitInterval" to 200.
    Note 1113811, explains why these kind of errors happen.
    I still waiting for a better solution from SAP.
    Cheers

  • Exit button not working in MS Explorer

    Hi. The exit button in our Captivate courses are not working
    all of a sudden. They work in FireFox but in MS IE. We are using
    Capivate 2.0. IE version is 6.0.

    Hi Apparo,
    In onAction method of the Exit button, a call is made to the TargetExitApplication as follows:
    fpm.navigate(wdThis
    .wdGetFcNavigationInterface()
    .getNavigationTargetExitApplication());
    Also, the Exit button does work in the Address Overview/Edit/Review Page, but not in W-4 Tax and Benefits Enrollment.
    Any help on this problem !!!
    Regards,
    Adren

  • How to make Exit button for Out-of-browser application

    Greetings all,
    This sounds so simple, yet I can't find anything about it.  I want to make an Exit button in a Silverlight 4 Out-of-browser application.  When the user clicks the button, the application is to quit or close or exit.  (The same effect as if the user clicks
    the red X icon in the upper right-hand corner of a window.)
    Any ideas will be appreciated.

    Jonathan --
    Yes, the word Page has taken on many meanings in the last 15 years.  I'll clarify.  When I make a simple Silverlight OOB (out-of-browser) application using Visual Studio 2010, I ask Visual Studio to Add New Item, then choose Silverlight Page.  Let's
    say I name it Page2.xaml.
    By default VS2010 already made another page for me, MainPage.xaml.
    Now, here is my need:  On the page called MainPage.xaml, I want to place a large button that says Exit Application.  When the user clicks that button, I want the application to end and the entire window to close.  This is the standard behavior in most traditional Windows
    applications, for example in Microsoft Word or Microsoft Excel or Microsoft Access.  In any of those traditional applications, the user can, from the menu, choose File/Exit.  If he does, then not only does the application quit, but also the window
    closes itself.  The user doesn't have to click the small red X icon in the upper right corner. 
    That simple behavior of almost all traditional Windows applications, large and small, is what I'm looking for in my simple Silverlight
    OOB applications:  An Exit command that quits the application and closes the window itself.
     Sorry for the confusion.  I really appreciate your help.  Any ideas?

  • Exit Button script won't work in Adobe Reader 8

    Hello,
    I have this code on Exit button for pdf form:
    app.execMenuItem("Close");
    Or
    to give warning before Exit: Have a second RealExit Button hidden to execute the code
    var answer = xfa.host.messageBox("Are you sure you want to Exit?","Warning Message",2,1);
    if(answer==1){
    RealExit.execEvent('click');
    I tried both the code one at a time but no luck in Adobe Acrobat Version 8, works like a charm in Adobe Acrobat 9
    I would like the user to click the Exit button if they choose to exit. However it doesn't work in Adobe Acrobat 8 but works in 9 version. Is there a work around? Any suggestions???
    Thanks

    This answer may not be a big help but sure will give you some level of understanding....
    Check the URL>>>http://kb2.adobe.com/cps/402/kb402673.html
    Check the section "PDF Forms-related issues:" starting mid page.....
    Not all releases/versions are good. Some releases tend to have some bugs...the version you tested could be one of them. Adobe always recommends to be on the latest version. If client still on older version that is client's problem especially there should not be any restrictions on upgrading to Latest version when the software is free!

  • Custom close / exit button in HTML widget

    Hi,
    how to set a custom close / exit button in a HTML widget for iBooks Author? I want to replace or hide the standard button in the top left corner.
    I already tried some JavaScript but nothing seems to work so far. Where can this button be modified or disabled and how to create a custom one?
    Best regards

    Hi Ken,
    thanks for your reply.
    It's good to hear that this button can be changed.
    It would be interesting to know how this can be achieved. Any hints?
    Best regards

Maybe you are looking for