Image Hotspot - dont work

  • Hi,


    Why dont work?


    <hotspot name="autoid0" visible="true" handcursor="true"
    url="hotspot.swf"
    onhover="showtext(Brama główna na dziedziniec Pałacu,STYLE6);"
    onclick="loadpano(pano_wilanow_park_201109b.xml,null,KEEPALL,BLEND(2));"
    ath="105.21"
    atv="7.27"
    zoom="true"
    scale="1"
    blendmode="invert"
    </hotspot>


    hotspot.swf is this same folder what XML file.


    Error: XML parser error: element is malformed (#1090)


    Why dont work?

    Polygonal hotspot is working good. But only I add this code, my viewer displeyed error :(


    Sorry for my English *wink*

    Best Regards

    Piotrek

  • Hi Piotrek,

    Your hotspot definition is malformed.... Here it is corrected *wink* :

    Code
    <hotspot name="autoid0" visible="true" handcursor="true"
    	url="hotspot.swf"
    	onhover="showtext(Brama glówna na dziedziniec Palacu,STYLE6);"
    	onclick="loadpano(pano_wilanow_park_201109b.xml,null,KEEPALL,BLEND(2));"
    	ath="105.21"
    	atv="7.27"
    	zoom="true"
    	scale="1"
    	blendmode="invert"
    	/>

    Also, depending of how your hotspot.swf is, the blendmode="invert" could have some strange displaying. If so, try blendmode="normal"

    SAlut.

  • Hi Piotrek,

    Your hotspot definition is malformed.... Here it is corrected *wink* :
    Also, depending of how your hotspot.swf is, the blendmode="invert" could have some strange displaying. If so, try blendmode="normal"


    Hi


    Thanks. Script is working (becouse I dont see errors) but I dont see hotspot.swf :(



    I have krpano 1.0.6 :(

  • Hi Piotrek,

    Quote

    dont see hotspot.swf :(..... I have krpano 1.0.6 :(

    I believe Image / Flash hotspots come in Krpano 1.0.7.
    So, it is time to upgrade at least to krpano 1.0.7 or above (1.0.8 is beta but stable and with lot of improvement)...
    Also, take care to give a correct path to your hotspot.swf...

    SAlut.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!