1 Reply Latest reply on Mar 13, 2007 10:34 AM by asm0d

    JavaScript

    ole.h
      Is it possible to send a JavaScript command from Presenter to the HTML page holding the presentation?
        • 1. Re: JavaScript
          asm0d Level 1
          Yes, if you have a copy of Flash to create small flash modules to drop into your presentation. Actionscript has the "getURL" command, which can be used to send javascript commands.

          For example, here's the Actionscript code associated with a small "quit" button we created for drag-n-drop use by our instructors. It exits the presentation by sending a "close window" command in javascript to the HTML shell the presentation runs in when the user clicks the button:

          btnQuit.onRelease = function() {
          getURL("javascript: window.close();");
          }