panoslider.swf
This hotspot plugin makes it possible to control numeric pano settings with a slider.It can for example be used for panning/tilting/zooming or moving hotspots or as a sound volume control.
You can use the built-in Flash slider or supply your own slider image.
The following attributes are supported:
| modAttr | modAttr="pano.tilt" | attribute value that will be controlled by the slider |
| minValue | minValue="0" | slider startpoint value |
| maxValue | maxValue="1" | slider endpoint value |
| size | size="165" | size for built-in Flash slider |
| trackImage | trackImage="img/track2.png" | track image |
| handleImage | handleImage="img/handle2.png" | handle image |
| dragStart | dragStart="8;10" | handle startpoint coordinates in track image |
| dragStop | dragStop="167;10" | handle endpoint coordinates in track image |
| tooltip | tooltip="1" | show tooltip with current slider value |
NOTES: Examples of values that can be controlled by the slider are:
pano.tilt
pano.zoom
global.tint
hotspot_id.alpha
hotspot_id.staticX
hotspot_id.scale
...
pano.zoom
global.tint
hotspot_id.alpha
hotspot_id.staticX
hotspot_id.scale
...
If you want to design your own slider, you will need two images like these:
If the height of the track image is greater than its width, the plugin will work in vertical mode, else it will adjust itself to horizontal mode.
Example FPP xml file:
<hotspots>
<global>
<spot id="slider5" url="panoslider.swf" static="1" salign="BL" align="BL" staticX="140" staticY="-148" blockMouse="1" depth="5"
modAttr="pano.blur"
minValue="0"
maxValue="10"
trackImage="/panos/images/com/track3_h.png"
handleImage="/panos/images/com/handle3_h.png"
dragStart="2;1"
dragStop="143;1"
tooltip="1"
/>
</global>
</hotspots>
Version history:
1.1:
Added possibility to show slider value in tooltip.
Added possibility to show slider value in tooltip.