Skip to main content
January 6, 2009
Question

Skin Playback Control

  • January 6, 2009
  • 1 reply
  • 211 views
I imported several powerpoint slides to create a demonstration. I've applied a skin which includes several of the playback controls so the user can move forward, backward or exit the demonstration. All of the playback controls work fine except for the CLOSE/EXIT. It works when I preview the demonstration but when I publish and view the output using IE, the CLOSE/EXIT does nothing. Adobe support agreed there is a problem with this particular playback control and suggested I create a button using the following code: javascript:window.close(). However, javascript will not allow me to close a window it did not open. Additionally, the button I create has a totally different appearance that does not match the buttons in the skin. I can't seem to find a work around this, why doesn't Adobe fix this problem?
    This topic has been closed for replies.

    1 reply

    Captiv8r
    Legend
    January 6, 2009
    Welcome to our community, viancoc

    You ask why Adobe doesn't fix an inherent issue with browsers? How would they do that?

    Basically you answered your question. You probably don't realize it, but you did.

    The answer was: However, javascript will not allow me to close a window it did not open.

    I do believe that is the crux of the matter. If the window wasn't opened and is a child window, the close button will often fail as you are seeing. I believe ActionScript is what is used internally inside Flash Files such as Captivate produces. And I further believe ActionScript is a slight variant of JavaScript. (or somehow closely related)

    Sorry, but I don't believe there are any pat "this code always closes the window" answers. I've seen some claim that variants of the close window always work. But my research on the internet as well as personal experience would seem to prove otherwise.

    Cheers... Rick