Controlling Hotspots in Flash Panorama
Hotspots can be added to the panorama scene for interactivity. there a different types of hotspot that can be added:
room: to move from one room to another.
image: to load an image in the movie window.
video: to play a video in the movie window.
audio: to play an audio file.
to define a hotspot use these tags:
<hotspot>
<point>
enter other tags here
</point>
</hotspot>
Hotspot tags
<hotspot>
<point>
<placementX>-100</placementX>
<placementY>-200</placementY>
<placementZ>1500</placementZ>
<rotationPitch>0</rotationPitch>
<rotationYaw>0</rotationYaw>
<rotationRoll>0</rotationRoll>
<sizeWidth>150</sizeWidth>
<sizeHeight>150</sizeHeight>
<sizeRadius>50</sizeRadius>
<actionType>room</actionType>
<actionGoto>bar_lobby</actionGoto>
<styleBitmap>hotspots/arrow.png</styleBitmap>
<styleBitmapOn>hotspots/arrow_on.png</styleBitmapOn>
<styleColor>0x3333DD</styleColor>
<styleAlpha>0.5</styleAlpha>
<altTag>Go to the Living Room</altTag>
</point>
</hotspot>
placementX
<placementX>-100</placementX>
This controls the position of the hotspot in the panorama in relation to the X axis.
placementY
<placementY>-200</placementY>
This controls the position of the hotspot in the panorama in relation to the Y axis.
placementZ
<placementZ>1500</placementZ>
This controls the position of the hotspot in the panorama in relation to the Z axis.
rotationPitch
<rotationPitch>0</rotationPitch>
This controls the rotation of the hotspot in the panorama. Rotate an arrow that is pointing up 45 degrees to make it point up and right to point up some stairs. rotate it 180 degrees to point down.
rotationYaw
<rotationYaw>0</rotationYaw>
text here
rotationRoll
<rotationRoll>0</rotationRoll>
text here
sizeWidth
<sizeWidth>150</sizeWidth>
This controls the width size of the hotspot image in the panorama.
sizeHeight
<sizeHeight>150</sizeHeight>
This controls the height size of the hotspot image in the panorama.
sizeRadius
<sizeRadius>50</sizeRadius>
This controls the radius size of the hotspot in the panorama if there isn't an image.
actionType
<actionType>room</actionType>
This controls the type of hotspot. A hotspot can link to another panorama, image, audio file or video file.
room - link to another panorama
image - link to an image
video - link to a video file
audio - link to an audio file
actionGoto
<actionGoto>livingroom</actionGoto>
This controls the file path of the hotspot link.
room - name of the panorama id
image - image file path <actionGoto>images/bedroom_picture01.jpg</actionGoto>
styleBitmap
<styleBitmap>hotspots/arrow.png</styleBitmap>
If using an image for a hotspot use styleBitmap to control the file path for the hotspot in it's off state.
styleBitmapOn
<styleBitmapOn>hotspots/arrow_on.png</styleBitmapOn>
If using an image for a hotspot use styleBitmap to control the file path in it's on state for a rollover.
styleColor
<styleColor>0x3333DD</styleColor>
Text here
styleAlpha
<styleAlpha>0.5</styleAlpha>
text here
altTag
<altTag>Go to the Living Room</altTag>
text here











