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

  • 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

  • Hi Luke,

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


    use this:

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

    SAlut.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!