Page 674 - ProShow Producer 9 Final Manual
P. 674
673 673
Uploading a Presenter Show
You’re going to get two files when you click on Create for a Presenter
Show. You’ll get a <YourShowName>.PX file and a
<YourShowName>.HTML file. These are the files that make your show work
on the web.
ProShow generates the HTML file for you to make it easier to get your show
online. If you don’t need the HTML page, and are ready to add the show to
a page you have already created, you can discard it.
There is a small snippet of JavaScript that is used to call Presenter on the
page and cause the show to play. This snippet can be viewed at any time
by clicking on the View HTML button at the bottom of the Create
Presenter Show window.
The code looks like this:
Line Code
1 <script language="javascript"
src="http://www.photodex.com/presenter.js"></script>
2 <script>
3 PresenterObject("ProShow","objectname","http://www.mywebsite.com
/ myslideshow.px",640,480,true);
4 </script>
The key elements of this code, by line number, are:
1. Loads the presenter.js script from Photodex. This contains the
necessary JavaScript code to initialize and prepare the show for
playback. This must be pulled from the Photodex server to ensure
that it is up to date with the current version of Presenter.
2. Start a new script block. The show will actually be played back
using a JavaScript function call, so we start a new script block first.
3. Call the PresenterObject function. This line actually creates and
executes the Presenter plug-in. It has six parameters you can set.