Download Dazzler User Guide

Transcript
Dazzler ActiveX Control
8
Dazzler ActiveX Control
The Dazzler ActiveX Control allows you to display Dazzler within Internet Explorer.
The Dazzler ActiveX Control only works with Internet Explorer, and may require version 7 or
higher.
8.1
Using Dazzler ActiveX Control
Insert the following code within the body section of the HTML page. Substitute where indicated.
<object
id="idname " where idname is a unique identifier.
width="Enter desired width in pixels or percentage"
height="Enter desired height in pixels or percentage"
classid="clsid:8905177F-FD9E-44CD-9DCF-15609C6529A8"
>
</object>
<script language="JavaScript" type="Text/Javascript">
idname.SparkFile = "[Enter spark file name]"; where idname is the unique identifier specified a
</script>
The following example defines a Dazzler ActiveX control named, "ActiveX_sample". Width is 640
pixels. Height is 480 pixels. The Dazzler ActiveX control will play a Spark file named "mySpark.
spark" that is located in a subfolder named "myPlayItems", which is located in the Resources folder.
<object
id="ActiveX_sample"
width="640"
height="480"
classid="clsid:8905177F-FD9E-44CD-9DCF-15609C6529A8"
>
</object>
<script language="JavaScript" type="Text/Javascript">
ActiveX_sample.SparkFile = "myPlayItems\\mySpark.spark";
</script>
Notes
The Tracker needs to be running before running the Dazzler ActiveX Control.
When running the HTML page with the Dazzler ActiveX Control for the first time, you may get the
following ActiveX Warning at the top of your Internet Explorer window:
"To help protect your security, Internet Explorer has restricted this webpage from running scripts
of ActiveX controls that could access your computer. Click here for options..."
If you get this message, click anywhere on that message. A small menu will appear. Select "Allow
blocked content...".
A Security Warning may appear. Click on Yes.
177