Hotspot to open image

  • Hello again everyone,

    Managed to get something working based on an example but not exactly as I wanted it. Basically I have an icon for my hotspot and it opens an image. Right now i'm using the onclick command but for some reason the hostspot only becomes active when I pan to a certain spot in the pano and then the image opens. Would like to the image to really appear where in the area that the hotspot was clicked and then I need to figure out a way to close image by clicking on it.

    <action name="open">
    set(plugin[%1].visible,true);
    tween(plugin[%1].alpha,1);
    </action>


    <plugin name="openimage"
    url="introimage.png"
    align="center" x="10" y="10"
    alpha="0"
    />

    <hotspot name="fyi"
    url="fyi.png"
    ath="0"
    atv="0"
    scale="0.6"
    alpha="0.3"
    onover="tween(alpha,1);tween(scale,0.6);"
    onout="tween(alpha,1);tween(scale,0.6);"
    onclick="action(open,openimage);"
    />

  • here:

  • here:

    </plugin>

    Works very well, but it takes like 3minutes to load the open action
    Do you know what's wrong? it's the exact same code just with another hotspotimage

Jetzt mitmachen!

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