• Can somebody help me with.I made pano with KR Pano tools radar and map.The map is on the right position ok.I want open the pano and the map continue small and then click to enlarge.Today the map open large and I click to reduce.
    What I have to do with the code.The xml code is the same of Kr pno tools
    Thank you very much.

  • I assumed you were using the masked-radar-textfield-hotspot example. If this is the one you are talking about, try this

    <plugin name="map" url="map.jpg" align="righttop" x="10" y="10"
    scalechildren="true"
    scale=".5"
    destscale=".5"
    onclick="switch(destscale,.5,1.0);tween(scale,$destscale);"
    />

    instead of this

    <plugin name="map" url="map.jpg" align="righttop" x="10" y="10"
    scalechildren="true"
    scale="1.0"
    destscale="1.0"
    onclick="switch(destscale,1.0,0.5);tween(scale,$destscale);"
    />

    Otherwise, please give us an example to look at.

    Jarred

  • I use a another example like this code:


    <plugin name="map" url="map.jpg" keep="true"
    align="lefttop" x="16" y="16" alpha="0.55" handcursor="false"
    scalechildren="true"
    width="341"
    height="336"
    onclick="action(closemap);"
    />
    <action name="closemap">
    set(onclick,action(openmap););
    tween(width,64,distance(341,0.5),easeoutquad);
    tween(height,45,distance(336,0.5),easeoutquad);
    </action>

    <action name="openmap">
    set(onclick,action(closemap););
    tween(width,341,distance(341,0.5),easeoutquad);
    tween(height,336,distance(336,0.5),easeoutquad);
    </action>
    Can you help me on this?
    Thank you

  • Hi ,

    as you see , when you have that openmap action it tweens big and close map it tweens small

    so there are differnt options :

    - you can set in the onstart closemap();

    but better:

    - you can set width="341" height="336" in the plugin to 64 and 45 .. then that's the size .. when open map it tweens big and vice versa

    hope this helps

    Tuur *thumbsup*

  • <plugin name="map" url="map.jpg" keep="true"
    align="lefttop" x="16" y="16" alpha="0.55" handcursor="false"
    scalechildren="true"
    width="64"
    height="45"
    onclick="action(openmap);"
    />

  • Thank you very much tuur

Participate now!

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