Skip to main content
IDerSusan
Known Participant
November 2, 2006
Question

How do I Open a URL and close the .swf from a Button in Captivate

  • November 2, 2006
  • 2 replies
  • 685 views
Hi, I am in search of the magical Java Script that will close the Flash Player window and open a new URL all at the same time. I hope someone can help.

Thank you, Susan
    This topic has been closed for replies.

    2 replies

    IDerSusan
    IDerSusanAuthor
    Known Participant
    November 9, 2006
    Hi, and thanks for both of the replies. Unfortunately, I am trying to do this from a Flash Player window so neither is working. But thank you for trying.
    Adobe Employee
    November 2, 2006
    You want to do it in Captivate or somewhere else?

    In Captivate put one action as the slide navigation action for last slide, and other as the movie end option.

    thanks
    IDerSusan
    IDerSusanAuthor
    Known Participant
    November 2, 2006
    Thanks. Yes I want to do it in Captivate but the Movie End Option "Close Movie" is not working because of the way I have to launch the .swf from my LMS.

    So, what I need is a java script that I can place in a button that re-directs the user to a URL and then closes the .swf.

    I hope this helps....
    November 2, 2006
    You might try the following line. The only drawback that I can think of is that your user will be prompted to see if its ok to close the window:
    quote:

    window.open(" http://www.adobe.com"); window.close();