JC Panorama Hotspots



Overview | Properties | Methods | Events | Hotspots | Editor

JC Panorama Hotspots

The hotspots are locations on the images that make up a panorama. Those locations could represent points of interest for the viewer watching the panorama and allow user interaction. A hotspot can only be added from the XML data of the panorama (an external .xml file or an XML object created by code).

A hotspot has the following attributes:
  • id:String - the id of the hotspot.
  • action:String - specifies the type of mouse event to which the hotspot will execute its actions. Possible values are press, release, over and doubleClick.
  • pan:Number - the horizontal angle of the panorama.
  • tilt:Number - the vertical angle of the panorama.
  • customIcon:String - the location where the icon should be loaded from. It could be the url of an external image or .swf file (if it has a file extension) or the class name of a movie clip from the Library. If the target file/movie clip does not exist or the path is incorrect, there will be no icon loaded into the panorama and further more, there could be an error message displayed.
  • fixed:Boolean - specifies if the hotspot will get distorted together with the panorama.
  • refresh:Boolean - specifies if the hotspot clip will be refreshed (useful when it is an animated clip)
  • type:String - the type of hotspot. Possible values are info, link and panorama.
  • panoURL:String - the url of another panorama which will be loaded if the action (mouse action) takes place on the hotspot.
  • linkURL:String - the url that will be opened if the action (mouse action) takes place on the hotspot.
  • target:String - the target browser window into which the link will be opened.
  • useHandCursor:Boolean (default = false) - specifies whether the hand cursor will be displayed when the mouse cursor is over the hotspot icon.

A hotspot XML node has another child node representing the description text associated to that hotspot. The description is displayed as tooltip when the mouse rolls over the hotspot icon.

Example:
<hotspot action="press" id="1" source="" pan="90.54545454545455" tilt="25.71428571428571" fixed="true" type="info" target="2">
     <description><![CDATA[This is the <b>description</b> of the hotspot which uses <i>html text</i>]]></description>
</hotspot>

Virtual tours

The component contains a basic virtual tour which has the following features:
  • when a panorama hotspot is selected, the component loads the other panorama and applies a transition between the previously loaded panorama and the newly loaded one
  • all the virtual tours settings are made only in the XML data
Virtual tools are created using our JC Panorama Editor application.

Overview | Properties | Methods | Events | Hotspots | Editor


FlashEff 2.0
Create professional flash photo slideshows online

FREE Flash Stuff

Check out these free, fully functional AS3.0 Flash components by Jumpeye:

FlashEff 2.0 Free
(free for non-commercial use)

JC Panorama
(free for non-commercial use)

JC Play List
(fully free)

Basic Menu Pack V3
(free AS3 version)

MCTE V3
(free AS3 version)

JC Player
(free for non-commercial use)

JC Flash Map
(free for non-commercial use)

Flash Bookmarks
(fully free)

ActionScript Bridge AS2-AS3
(fully free)

JS Charts
(free for non-commercial use)

Free Trial Versions

The trial versions do have a major limitation. They will ONLY run into debugger flash player versions, such as the Flash IDE player and the activeX FP used by developers.

Switch from Free Trial version to Full version.

You can switch from Trial to Full versions in a blink of an eye.
See this tutorial in order to find out how.

We accept Google Checkout

Google Checkout Acceptance Mark

Secured by VeriSign