PDA

View Full Version : layer between 2 hotspots (layers)


ftrippie
04-20-2008, 12:04 PM
Hi there,

Question; how can I have an element 'sandwiched' between two hotspots?

Let me explain; I am using a hotspot to make a 1 coloured background to cover the pano. This I do to show still photos on a plain background. So, there I already have 2 hotspots; the background and the photo. In between these two hotspots, I want to have an external plugin; on top of the background hotspot and behind (hidden by) the photo hotspot.
Idealy, I would be helped by loading the layers like:
layer1 = hotspots.swf (for the background hotspot)
layer2 = external.swf (the external plugin)
layer3 = hotspots.swf (all the other hotspots, on top of all else)
But that doesn't seem to be possible.

I could load the background using a pano of 1 colour, but I noticed that using a hotspot is soooooooo much faster, especially via internet.

Any clue?

Cheers,
FTrippie

cheathamlane
04-20-2008, 02:31 PM
If you can load your "external plugin" as a <spot> or <box>, then I would simply use the "depth" attribute on each.

<spot id="spot1" depth="0"></spot>
<spot id="spot2" depth="1"></spot>
<spot id="spot3" depth="2"></spot>

ftrippie
04-20-2008, 07:36 PM
Hi Patrick,

Thanks for responding.
And nope, I am afraid I can't. It's an adapted slideshow plugin from Zephyr with it's own loader.

I just been looking. There are other plugins (like fov.swf or glassMeter) loading their own images. I just need a simple plugin to load an image the size of the screen which I can load as layer1 and turn on and off at my command.
The fov.swf might even work, but i can't seem to turn it on or off, other than by hotspot appointment....

ftrippie
04-20-2008, 11:31 PM
Sorted already,

Used the same code for as the slideshow plugin to create another plugin and load it at level1. And used that to load the background layer.

Cheers,
FTrippie