discocandy
08-05-2008, 06:04 AM
Hi all. somthing weird for me. In my last tour I use a map.
when you click the next panorama it should close automaticly.
so I made a piece of coding like this,
to open buttons.
openButtons="backgr.salignX=0,400,smooth;
new1.salignX=0,400,smooth;
new2.salignX=0,400,smooth;
to close buttons:
closeButtons="backgr.salignX=-2,500,strong;
new1.salignX=-2,500,strong;
new2.salignX=-2,500,strong;
and the spots.
<spot id="backgr" url="graphics/floorplan.png" static="1" salignX="-2"alpha="1" depth="4" blockMouse="1"/>
<spot id="new1" url="graphics\pov.png" static="1" staticX="256" staticY="100" salignX="-1" depth="6" blockMouse="1"
onPress="external.autorotator.disabled=0; loadPano(panoName=images/pano1,1000,stripes); closeButtons()" />
<spot id="new2" url="graphics\pov.png" static="1" staticX="174.00" staticY="127.00" salignX="-1.1" depth="6" blockMouse="1"
onPress="external.autorotator.disabled=0; loadPano(panoName=images/pano2,1000,stripes);closeButtons()"/>
Something is wrong here.. but what??
Another strange thing is that the hotspots do not appear in Firefox?
I am not really a coder and dyslectic so doing this is always difficult:cool:
tour can be found here. (http://www.discocandy.com/panorama/aviodromeflash/index.htm) (work in progress!)
thnx for reading!
Freddy
when you click the next panorama it should close automaticly.
so I made a piece of coding like this,
to open buttons.
openButtons="backgr.salignX=0,400,smooth;
new1.salignX=0,400,smooth;
new2.salignX=0,400,smooth;
to close buttons:
closeButtons="backgr.salignX=-2,500,strong;
new1.salignX=-2,500,strong;
new2.salignX=-2,500,strong;
and the spots.
<spot id="backgr" url="graphics/floorplan.png" static="1" salignX="-2"alpha="1" depth="4" blockMouse="1"/>
<spot id="new1" url="graphics\pov.png" static="1" staticX="256" staticY="100" salignX="-1" depth="6" blockMouse="1"
onPress="external.autorotator.disabled=0; loadPano(panoName=images/pano1,1000,stripes); closeButtons()" />
<spot id="new2" url="graphics\pov.png" static="1" staticX="174.00" staticY="127.00" salignX="-1.1" depth="6" blockMouse="1"
onPress="external.autorotator.disabled=0; loadPano(panoName=images/pano2,1000,stripes);closeButtons()"/>
Something is wrong here.. but what??
Another strange thing is that the hotspots do not appear in Firefox?
I am not really a coder and dyslectic so doing this is always difficult:cool:
tour can be found here. (http://www.discocandy.com/panorama/aviodromeflash/index.htm) (work in progress!)
thnx for reading!
Freddy