Create a Button that Closes the Presentation

All, I want a button on the last slide of my presentation that, when clicked, will close the browser window in which the presentation is playing. Will this involve Javascript? I tried some, but I probably screwed it up because it won't work. Some step-by-step guidance would be much appreciated, should someone have a few moments to guide me. Trying to make something more obvious than the X button on the playbar. Thanks so much!

Hi there
As explained in the Frequently Encountered Issues topic, closing the window is "iffy" and depends on different factors.
The simplest approach is to avoid JavaScript altogether. Just configure the project to close when it completes. Then if you want a button that closes the project, configure it to jump to the last slide. Time that last slide super short. The net result will be that the user clicks the button, it jumps to the last slide for a split second, then if the project is capable of closing, it closes!
Cheers... Rick
Helpful and Handy Links
Begin learning Captivate 5 moments from now! $29.95
Captivate Wish Form/Bug Reporting Form
Adobe Certified Captivate Training
SorcererStone Blog
Captivate eBooks

Similar Messages

  • How to create a button that close a window/popup.

    Hi, I must create in a view a button that close the window/popup that include the view, the button must be like the OK button of the popup or the X button at the top-right side . It's possible?

    Hi Avalor.
    You can create a custom pop up window. Just create a view that contains all
    elements that you want to display. Add the button that closes the view. Create a
    new window that only contains this new view. Use the mentioned method to create
    a new window as pop up. You just have to pass the name of the window you have
    created. Store the reference to the new window in the component controller
    (mr_window).
    From the new window->view you have access to the component controller.
    In the action handler of the button you can use something like this:
    wd_comop_controler->mr_window->close( ).
    Cheers,
    Sascha

  • Is there a way to create a button that works the same as the ImageField?

    I am trying to create a button that acts like the ImageField tool. I want to be able to click on the button and it will direct me to browse for my photo that I want to attach.
    I am using LiveCycle. (I am a nooby and have limited skills when it comes to script)
    The ImageField function is to complex of a function for the use on my IPAD (PDF Expert APP). I can create a photo button using Adobe Form Creater and it works fine with the below script:
    event.target.buttonImportIcon ();
    This is a mouseup Action Event.
    My form that has been created in LiveCycle works perfectly on my IPad, except the photos. If I can simplify the function of the photos to act more like the Adobe Form Creater tool, then perhaps it will all work together.
    Any ideas, or is this just a waste of time? I have created the form over using Adobe Form Creater, but it has some limitations that make it not function as nice as LiveCycle's form.
    Thanks

    Not in Acrobat unless your image is already in the PDF format.
    This is a feature of forms created with LiveCycle Designer.

  • How can I create a button that performs the function of a keyboard shortcut, specifically print scrn

    I need my presentation users to take a screen shot of a slide within my presentation.  I know that windows 8 has a new function that allows a screen shot to be taken and saved directly to the user's computer and I need a button that can be placed on a slide and perform this function.  The shortcut is (windows key) + (print scrn).  I want to save my userss some time and just have a button perform this task.  Any idea on how I can make this possible? I am using Captivate 7.

    I think Ajit may have misunderstood your need.  The command he told you about triggers the Print command to allow you to print the currently active slide (on a laser or inkjet printer). This does not have the same result as you would get by hitting the PrintScreen button on your keyboard (to take a screencapture and have it saved to the Clipboard for pasting somewhere else).
    You can add a button to your slide and set the PrintScreen key as the shortcut, but this will NOT mean that clicking the button will cause a screencapture to be taken.
    There are JavaScript libraries that will allow you to execute JavaScript code in a Captivate project that can take a screen capture:
    https://github.com/ariya/phantomjs/wiki/Screen-Capture
    However, to implement these solutions you would need to be quite knowledgeable with setting up JavaScript.  It's not for newbies.

  • I need an AS2 button that closes out a pop-up window...

    So, I’ve constructed a portfolio site with ActionScript 2.0, but I would like the pop-up window that displays the portfolio image to have its own ‘X’ button that closes the swf movie from the browser.  I’m assuming that the code begins something like this:
    on(release){
    //actionscript 2.0 code that closes the browser window.
    Any suggestions on how this will work across platforms and browsers?
    Best,
    R.

    Hi kglad,
    My main flash as2 file has a stage size of 1200 width x720 height.  I’ve looked online through various methods on creating pop-up browsers that will display a portfolio image when a button on the main.swf is clicked.  Having no luck in finding what I needed (most tutorials just give getURL examples where the image is displayed in a separate tab), it finally dawned on me to create an overlaying movie, of the same size as the document size, on the top layer of the primary flash stage.  Setting the movie symbol as ‘invisible’ keeps the movie symbol inactive and invisible until called by an action.  The button on the main.swf that calls the movie has the following as2 script attached to it:
    on(release){
                   loadMovie("images/aauComp.swf", _root.movie2);
    However, the aauComp.swf file is where the exit button is located.  I need to implement an on(release){} method onto the exit button in aauComp.swf  that will close the movie out in the main.swf file.  Here’s the double wammy, though: the exit button on the called movie file, aauComp.swf, does not recognize any gotoAndStop(); or on(release){} functions relating to itself when it is loaded. For instance, since I could not find any functions that would close the movie out and return me to the main.swf interface, I wrote the following command on the ‘exit’ button in aauComp.swf:
    on(release){
                   _root.gotoAndStop("blank_frame");
    Where “blank_frame” is within a scene of aauComp.swf that is completely empty – which should, in theory, allow for interaction with the main.swf below the loaded movie since there is nothing on that layer of the loaded aauComp.swf movie.  Make sense?  The ‘exit’ button works fine when aauComp.swf is tested and published by itself, but when it is called into the main.swf with the loadMovie(); function, the 'exit' button will not work and, so, it will not forward to the “blank_frame”.
    Any suggestions?  Let me know if you need anything clarified.
    Thanks.

  • Acrobat 9.0 Std - How do I create a button that will show / hide the menu bar?

    In Adobe Acrobat 8, I was able to create a button that would show the menu bar using Link Properties. In version 9.0, the option I used is missing.
    The other view options are there under "Execute a menu item": View > Toolbars > File, Edit, etc.
    Any help would be greatly appreciated - thanks!

    In Adobe Acrobat 8, I was able to create a button that would show the menu bar using Link Properties. In version 9.0, the option I used is missing.
    The other view options are there under "Execute a menu item": View > Toolbars > File, Edit, etc.
    Any help would be greatly appreciated - thanks!

  • Exit button that close me the window in personalize

    Hi forum:
       I have one dynpro application in the personalize window of the EP6.40, when i give click in this link an windows is open, So, in my application in to this window i need to put an EXIT BUTTON, that close me the actual window, what can i do to do it?.... The password change application in that windows has it.. and do it..
    please help
    Joshua

    Hi Joshua,
    Are you familiar with close main application window in WD for Java ?
    Best regards, Maksim Rashchynski.

  • Is there a way to create a button that links to a website?

    Is there a way to create a button that links to a website?
    I was reading up that it's possible to this with menus, and tracks but can you do it with a button and how?
    I am hoping to create a button that people viewing my discs on a computer can click on the link and their web browser will pop up and take them to a website.
    Any help is appreciated.
    Thanks.
    -Fraky

    dvd@ccess questions are being asked once a week on this forum, so I'll repeat why it's useless:
    - Mac users have to enable the feature in the preferences of DVD Player in order to for the links to work.
    - PC users have to install a small application on their PC, and they have to reboot the PC in order for the links to work.
    - On top of this, it's still unreliable, and may not work on some computers.
    It's a dog: Don't use it.

  • How to create a button that Copies subform data and paste it to a new page?

    Hi , I'm want to create a button that when clicked copys all the data from the feilds of a subform off the previous page and paste it into current page.
    I have used Steve's "Simple table.pdf example" to add a subform called DecorationDetail that has a button that adds an instance when clicked.
    Contained in the decorationdetail subform are feilds named Quantity, Description,UnitPrice etc. and a delete instance button.
    So when the first page is filled out, and a second page with blank duplicate feilds is added by a add page button. I want to be able to click a button
    positioned at the end of the row of feilds, and it then copies the same subform data from the previous coresponding page and pastes it into the current page subform feilds.
    Hope this make sense?. A step by step guide would be greatly appreciated!!!.

    Hi,
    Does this article provide you with some clues? http://www.perfectwebtutorials.com/2011/how-to-create-simple-contact-form-in-flash/
    Thanks,
    Preran

  • How to create text buttons that link to video?

    I've finally gotten around to trying DVD SP, and even though I read the whole manual, it's not at all clear if, or how, you can create text buttons that link to the video you want to play, without displaying a clip of that video in the button itself.
    I have no problem creating a text button, but I can't change the font, and editing is counter-intuitive, unlike iDVD. I'd use iDVD, but it doesn't accept .m2v files, and it seems to think that my 6 videos of about 43 minutes each are too large for a DVD+DL disc, so it won't let me burn it or save it as a disc image.
    Does anyone have a way out of this conundrum, or am I SOL?
    Mulder

    It really isn't that hard!
    As Drew said, go into your menu and click and drag to create a button rectangle. With the button highlighted, look in the property inspector at the bottom and type in the text that you want to use. Ensure that you 'include in button highlight' and then set the colour choice for selected and activated.
    What you get is a simple line of text which illuminates when you roll over it, and changes colour when you click on it.
    Once that is done, click on the button area again and set the target to go to the piece of video that you want to have play back.
    You should also set the menu call and end jump on that track to make sure your viewer can get back to the menu.
    Once that is done the menu will show as a simple piece of text (more buttons means more bits of text, and the first button will be highlighted by default) and no video will play until the button is activated.
    DVDSP is definitely a steeper learning curve than iDVD but for very good reasons. You get far greater control and access to far more advanced features in DVDSP. This means that some things will seem harder, whereas in fact they are just different and the process for achieving the result you want is different. Much of what you want to know is in the manual and also in the tutorials which came with the app. Failing that there are several good online spaces where you can find a lot more information... not least of which is right here, of course!

  • Can I create a button that copy's a certain test to my clipboard?

    Can I create a button that copy's a certain test to my clipboard?
    For example, when I click the button on the website, then the next time to paste somewhere, a specific text appears?
    If this is possible, could someone please explain how? =(

    Hi Travis,
    There is no native feature in Muse to achieve this. However, you can use custom code to achieve this. Please refer to the following link for the sample code : How to copy to the clipboard in JavaScript? - Stack Overflow
    Regards,
    Aish

  • Photo Book I've created disappears after I close the iPhoto program.

    Having spent hours creating a book, I close the program to return later only to discover later that nothing of my previous work has been saved.
    I have rebuilt the photo database and tested that it will save and it has only retained half of my work. All the text has been lost and after the third day of re-creating the same book I am getting very discouraged - say the least.
    I have produced beautiful books in the past, but that was with iPhoto 08. What else can I do?

    You don't have to update, it's just recommending that you do.
    On 10.7.5 you can run up to iPhoto 9.4.3 and those updates are available.
    http://support.apple.com/downloads/#consumersoftware

  • Several buttons that do the same behavior

    Hello,
    I need to have several buttons that do the same behavior.
    For brevity, I do not want to attribute to them each time a different instance name.
    Is there a way to perform many buttons the same function (eg trace ("foo");?
    And:
    1)  without converting all the buttons in a single symbol, this is because I often need to give different positions on the Stage;
    2)  without to write a different script for each button?
    Thank you.
    John.

    You would want to use a for loop for your need and dynamically reference each button instance. In the below example, create 4 buttons on your stage at the root level and give them instance names of "btn1", "btn2", "btn3" & "btn4". Then insert the following on the root timeline.
    stop();
    for (var i:Number = 1; i <= 4; i++){
              _root["btn"+i].onRollOver = function(){
                        trace("foo"+this._name);

  • I need to create a button that links to another swf file...

    i'm creating my first website, and, for each menu item, i am
    creating a new flash document... is this the correct way to create
    a multi-page website?
    plus: how to create a button that links to a jpg, thanks!
    jane

    Creating separate swf's these days as far as I know is
    considered to be a better practice than using the "scenes" that are
    in Flash. The reason is you can load various sections of your
    entire Flash entity rather than the user downloading everything at
    once.
    But, it also depends on the complexity of where your menu
    items are leading. If they are simple enough, then there may be no
    need to create new documents.
    To create a button that links to a jpeg, try this.
    Whatever graphic you're using for the button, select it and
    hit F8 to convert it to a movie clip. Once it's in your library,
    click on your new movie clip on the stage and give it an instance
    name in the properties window.
    Click the first frame in your timeline (preferably on a layer
    named "actions") and put this example in for the actionscript:
    //buttonName is the instance name you gave it
    //.onPress tells Flash when buttonName is pressed then do
    what's
    //inside the brackets of the function
    buttonName.onPress = function (){
    //getURL is the Flash function that will load your
    picture.jpg
    //_blank is the target. e.g. _blank, _self etc.
    getURL("picture.jpg", "_blank");
    }

  • Creating a button that highlights itself and another object

    Hello all,
    I have a specific function I am trying to apply to my InDesign document intended for exporting to an interactive PDF and SWF/html format.
    The function I am trying to create is:
    I have a picture of a typical WYSIWYG tool bar. I have created highlight buttons that sit on top of each icon in the picture. When the reader rolls over (with cursor) this picture of an icon I want it to highlight, and also a piece of text further down the page to highlight as well (which is a definition and explanation of the icon). So I want the rollover action of my first button to also trigger another action, which is to highlight a piece of text elsewhere on the page. I have managed to get it so that I hover over the first button (picture of icon), it highlights, and the text further down the page appears. But this isn’t quite what i want. I want the text to exist already, then highlight. Basically, I want to the two buttons to be linked. So that every time I hover over a portion of the picture with a created button, it will highlight, and a piece of exploratory text will also highlight simultaneously elsewhere on the page. A bit like an infograph. Surely this is possible?
    Thanks in advance for your help.

    Generally, animations like this with the goal of exporting a SWF are better be done in Adobe Flash.
    In Indesign it sort of works, too. Only for export to SWF, you can assign the action "Go to status". For a text frame, you can assign different status, where the 1st status would be "normal" and the 2nd status would be "highlighted". Highlighted applies to the object "text frame", so you can assign a stroke or fill. Better than nothing.
    Example: Dropbox - test_highlight.indd

Maybe you are looking for