hotspotClicked

Typemessage
DictionaryLCS
LibraryLiveCode Script
Syntax
hotspotClicked <pHotspotID>
Associationsplayer
Summary

Sent to a player containing a QuickTime VR movie when the user clicks one of the movie's hot spots.

Introduced1.0
Changes

The use of QuickTime was deprecated in version 8.1 of LiveCode with new defaults for dontUseQT and dontUseQTEffects as true on all systems apart from pre OS X 10.8. The Windows build of LiveCode no longer supports any QuickTime features and setting the dontUseQT and dontUseQTEffects will have no effect. Additionally QuickTime does not include 64 bit support and therefore can not be supported on OS X 64 bit builds of LiveCode.

OSmac
Platformsdesktop
Parameters
NameTypeDescription
pHotspotID

The ID of the QuickTime VR hot spot that was clicked.

Example
on hotSpotClicked theNode -- show a text description
  if theNode is among the lines of the clickableNodes of me then
    put line theNode of field "Tips" into field "Display"
  end if
end hotspotClicked
RelatedProperty: hotspots, dontUseQT, dontUseQTEffects
Glossary: QuickTime VR, message
Message: nodeChanged, QTDebugStr
Description

Handle the hotspotClicked message if you want to perform some additional action when the user clicks a hot spot in a QuickTime VR movie.

Each hot spot of a QuickTime VR movie is a clickable link, usually from one node to another. The movie author sets the hot spots during development of the movie. The user clicks a hot spot in the player to activate the link.

If the user navigates to another node by clicking a hot spot in the QuickTime VR movie, a nodeChanged message is sent after the hotspotClicked message.

Tagsmultimedia