Archive for March 23. 2010

Controlling the browser window

One of our colleagues recently expressed a need to present a Captivate-generated SWF in the clean window, which is to say, without the browser’s buttons, Address field, Search field, and so on. There is a couple of ways to do this. The simplest is to use the Full Screen option when publishing. Slightly more difficult is to use JavaScript to open a window of a specified size and without the browser’s interface elements. Unfortunately, as we found out, Captivate’s Full Screen publishing option does not work if you have Sharable Content Object Reference Model (SCORM) enabled. So, scripting is required.

In case you ever have need of this type of script, I have put together some example files here. They include:

Sample.swf: This file contains a simple red box along with a button bar. Use the X button to close the window.

OpenFullScreen.htm: This is a Captivate-generated web page that I edited to include a script to open the SWF full screen. The script is commented out so you can copy and paste it into your own files.

OpenSwfFullPortal.htm: This is a scripted portal page that allows you to open your SWF in full screen mode via a link.

OpenSwfWindowedPortal.htm: This is a scripted portal page that allows you to open your SWF in a windowed mode via a link. If you reuse this, be sure to specify the correct Width and Height variables for your project.

I supply these files free of charge and without warranty etc., etc. etc. Hopefully they will save you some time if you encounter this situation, however!

Example: Filmed in Second Life®

Here is a presentation covering how to get ready for an inworld meeting or class, featuring captured audio and video. It is huge and can take several minutes to load.

|