Sie sind nicht angemeldet.

1

Donnerstag, 22. April 2010, 15:51

Texfield hotspot not working in partial panorama

I have a problem with partial panorama & textfield working together *cursing* . The plugin works in all the other rooms (normal sphere panorama), except the one defined as partial panorama. Textfield does not load. Any ideas?

To load we use the following parameters....

<action name="load4"><!-- partial panaorama -->
loadpano(partial.xml,null,KEEPALL,BLEND(2));
</action>


----
partial.xml

<krpano>
<view hlookat="0" vlookat="0"
fov="100" fovmin="40" fisheye="0"
limitview="range"
vlookatmin="-30"
vlookatmax="30"
/>
<display flash10="off" stillquality="HIGHSHARP" />
<image type="SPHERE" hfov="147.04" vfov="80">
<sphere url="../bilder/pano4.jpg" />
</image>

<hotspot name="text18"
url="idea.png"
ath="0"
atv="0"
scale="1"
zoom="false"
onhover="showtext(Podrobnosti);"
onclick="tween(plugin[button].alpha,0,,,set(plugin[button].visible,false));
tween(plugin[htmltext12].alpha,0.9);
tween(plugin[htmltext12].textblur,0);
tween(plugin[htmltext12].blur,0);
set(plugin[htmltext12].enabled,true);
set(plugin[htmltext12].visible,true);"
/>
</krpano>


Thank you for your help!

luke

Tuur

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Nachricht senden

2

Donnerstag, 22. April 2010, 16:00

hi,

maybe set the zorder in the hotspot..try 100..

?

how does your plugin code look? htmltext12

3

Donnerstag, 22. April 2010, 16:31

Hre is the code

"<plugin name="htmltext12" url="%HTMLPATH%/plugins/textfield.swf"
origin="center"
width="500"
height="520"
html="data:htmldata12"
css="data:cssdata1"
borderwidth="18"
bordercolor="0xFFFFFF"
glow="30"
glowcolor="0xFFFFFF"
backgroundcolor="0xFFFFFF"
selectable="true"
visible="false"
alpha="0.9"
x="0" y="0"
keep:="true"
/>

<data name="htmldata12">
<p align="center"><br />
<font face="verdana" size="+4">Osnovni set instrumentov</font><br /><br />
<img src="examples/dentist/tocke/zobo/12.png" hspace="130px" /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
</p>
<p align="left">
<font face="verdana" size="11">Osnovni set instrumentov za preparacijo zoba: ogledalce, sonda, pinceta, diamantni in karbidni svedri.<br /></font>
</p><br />

<p align="center"><font face="verdana" size="+2"><a href="event:action(hidewindow,htmltext12);">Zapri</a></font></p><br /><br />
<img src="footer.png"/>
</data>"

zorder does not work. In other rooms with "normal" sphere panoramas texfield works just perfect! *blink*

working version - http://www.tauria.si/dent2/3dpredstavitev.html
First arrow right (room 1) then on the left side there is another room with partial panorama where the problem occured.

Thank you!
Luke

4

Donnerstag, 22. April 2010, 17:14

Hi Luke,

Missing KEEPALL on your loadpano() call in line 14:

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<action name="load1"><!-- wartezimmer -->
    	loadpano(1.xml,null,KEEPALL,BLEND(2));
	</action>
    
    <action name="load2"><!-- ordination1-->
    	loadpano(2.xml,null,KEEPALL,BLEND(2));
  </action>
    
    <action name="load3"><!-- ordination2 -->
    	loadpano(3.xml,null,KEEPALL,BLEND(2));
   </action>
   
   <action name="load4"><!-- ordination2 -->
    	loadpano(4.xml,null,null,BLEND(2));
   </action>

use this:

Quellcode

14
loadpano(4.xml,null,KEEPALL,BLEND(2));


SAlut.