Simple ZAP file loader using the default values.


<OBJECT
CLASSID="clsid:6CB343EA-40C5-49E9-A52A-E256E7AE87FD"
WIDTH="100" HEIGHT="100"
CODEBASE="3dzap.cab"
ID="MyZapObject">
<PARAM NAME="URL" VALUE="tgs.z3d">
</OBJECT>

Objects contained in the file tgs.z3d are loaded and displayed. If the file contains animations they are executed.

Here is the resulting object. Click in the window with the right mouse button and try the various menu options. Set the Examine option and try to manipulate the object with the mouse.

 

 

The same example but with examiner mode set to on by default and the context menu disabled.


<OBJECT
CLASSID="clsid:6CB343EA-40C5-49E9-A52A-E256E7AE87FD"
WIDTH="100" HEIGHT="100"
CODEBASE="3dzap.cab"
ID="MyZapObject">
<PARAM NAME="URL" VALUE="tgs.z3d">
<PARAM NAME="EXAMINER" VALUE="ON">
<PARAM NAME="CONTEXTMENU" VALUE="OFF">
</OBJECT>


The difference with the previous example is that you don't have access to the context menu and the viewer is in examiner mode. You can manipulate the object but that's all....

 

 

An example of using the 3D image as an anchor.

<OBJECT
CLASSID="clsid:6CB343EA-40C5-49E9-A52A-E256E7AE87FD"
WIDTH="100" HEIGHT="100"
CODEBASE="3dzap.cab"
ID="MyZapObject">
<PARAM NAME="URL" VALUE="tgs.z3d">
<PARAM NAME="HREF" VALUE="http://www.tgs.com">
<PARAM NAME="CONTEXTMENU" VALUE="OFF">
<PARAM NAME="BACKCOLOR" VALUE="#00A0A0">
</OBJECT>


Here we deactivate the context menu and we set an HREF. When you move the cursor over the ZAP player window, the cursor changes. If you click, Internet Explorer launches the TGS home page specified in the HREF property.