EnableHotspot()

Syntax:

EnableHotspot( Type, ID, Enable )

Parameters:

Type – an integer specifying the type of nodes to be affected. This parameter is required.

The possible values for Type are:

Value of Type

Meaning

1

Enable/Disable hotspot with a given ID.

2

Enable/Diable hotspots of a particular type.

3

Enable/Disable all hotspots.

ID – an integer specifying the hotspot ID or hotspot type, depending on the Type value. This parameter is required.

The possible values for ID depend on the setting of Type:

Value of Type

Possible values for ID

1

Hotspot ID

2

1 to Enable/Disable all Link hotspots
2 to Enable/Disable all URL hotspots
4 to Enable/Disable all Undefined hotspots

3

0

Enabletrue to enable the hotspots, false to disable them. This parameter is required.

Remarks:

This function will enable or disable one, some or all of the hotspots in a QuickTime VR object.

image\Script_Button.jpgExamples