Thank you for a good plugin!
Posts by Ukrajinec
-
-
try setting new (fresh from Krpano package with no licence embeded) krpano.swf as base and start over again.
Many thanks, Umalo. it works
-
Mostly I want to set an expiration date, but when I start the krpano protect tool, I have an error:
"ERROR - the krpano.swf has already a license embedded!
Please verify the path and the version of the krpano.swf!"
I can indicate or not the path to the krpano.swf (or other *.swf files), I always get an error: "ERROR - the krpano.swf has already a license embedded!". I don't understand this error. -
Good day!
Can I use the "krpano Protect Tool" with tour, generated by Kolor PanoTour Pro? -
Tnx. Problem resolved)
-
2 Umalo but you're right. after removing the icon is displayed. So I have again a problem with the size of the icon image :(
-
otherwise, after replacement of icons, a new image gets the size of the old image

-
Good day! I have a little problem. On PC mode all works good but in mobile mode the icon not displayed
PC-mode
Mobile mode
QuoteDisplay More<!--BLUE RECTANGLE AT CENTER-->
<plugin name="strap" keep="true" zorder="50" url="../../../Interface/graphics/strap_blank.png" parent="thumbArray" alpha="0.9" align="bottom" edge="left" rotate="90" handcursor="true" onclick="slide_action_in" height="175" width="25"/>
<!--SHAPED EDGE LEFT SIDE-->
<plugin name="strap_ls"
zorder="50"
parent="strap"
url="../../../Interface/graphics/strap_side_u.png"
width="25"
height="prop"
enabled="false"
align="topleft"
edge="bottomleft"
/>
<!--SHAPED EDGE RIGHT SIDE-->
<plugin name="strap_rs"
zorder="50"
parent="strap"
url="../../../Interface/graphics/strap_side_d.png"
width="25"
height="prop"
enabled="false"
align="bottomleft"
edge="topleft"
/>
<!--TEXT-->
<plugin name="strapArrow" keep="true" parent="strap" zorder="75" url="../../../Interface/graphics/Thumb/view popular places_en.png" align="center" edge="center" capture="false" enabled="false" rotate="-90" width="prop" height="prop"/>I noticed if remove PARENT="STRAP" from plugin "STRAPARROW" then the icon is displayed in the top left corner.
What's wrong? help please
-
Many thanks, Klaus.

-
Good day!
There are 3 hotspots (as examle):Quote<hotspot name="1111"..... onclick="..." ....>
<hotspot name="2222"..... onclick="..." ....>
<hotspot name="3333"..... onclick="..." ....>and the plugin of button:
Quote<plugin name="BUTTON"
...
onclick="openurl('SITE', _top)"
...
/>How to make that the click on each hotspot, changed the address "SITE", at the plugin "BUTTON"?
-
Good day!
I have a some problem.((QuoteDisplay More
<spotstyle name="archstyle"
url="../../mapdata/graphics/spots/arch_on.png"
overurl="../../mapdata/graphics/spots/arch_on.png"
activeurl="../../mapdata/graphics/spots/arch_on.png"
/>
....
<spot name="spagna3" style="archstyle" onhover="showtext(Rampa di San Sibastianello, mapstyle);" onclick="openurl(, _top);" lat="41.9063682556" lng="12.4830007553"/>
....Why style not working?
-
analitics.xml
QuoteDisplay More
<krpano>
<plugin name="ga"
url="../plugins/plugins/analitics/analytics.swf"
alturl="../plugins/plugins/analitics/analytics.js"
keep="true"
preload="true"mode="auto"
debug="true"
account="UA-xxxxxx-x"
prefix="/virtualtour"
parsepaths="true"
>
<pano name="pano1"
xmlurl="%SWFPATH%/en/build.xml"
pageurl="/crane/"
/>
<pano name="pano2"
xmlurl="%SWFPATH%/it/build.xml"
pageurl="/ring/"
/><event name="customevent"
global="true"
target="plugin[in].onclick"
data="User Interface,Zoom event"
/>
<event name="pano1specificevent"
xmlurl="%SWFPATH%/en/build0.xml"
target="hotspot[spot0].onclick"
data="User Interface,Pano 1 spot"
/>
<event name="pano2specificevent"
xmlurl="%SWFPATH%/it/1.xml"
target="hotspot[spot1].onclick"
data="User Interface,Pano 2 spot"
/>
</plugin>
<action name="activatepano">
if (%2 == scene, loadscene(%1,null,KEEPBASE,BLEND(1)));
if (%2 == xml, loadpano(%SWFPATH%/%1,null,KEEPBASE,BLEND(1)));
wait(blend);
</action>
</krpano>
build.xml (main xml-file)QuoteDisplay More
....
<include url="../../plugins/BingMap/map/en-en/Bingmap.xml"/>
<include url="../../plugins/Styles.xml"/>
<include url="../../plugins/Interface/en-en/Interface.xml"/>
<include url="../analytics.xml"/>
<include url="build0.xml"/>
....
Interface.xml (contains logos, navigation buttons, etc..)QuoteDisplay More
...
<!--************** Menu ***********************************************************************-->
<plugin name="in" parent= "desk" rotate="90" align="right" crop="0|0|65|65" height="prop" keep="true" ondown="set(fov_moveforce,-1);" onout=""
onhover=" showtext (zoom in, navstyle);" onovercrop="0|65|65|65" onup="set(fov_moveforce,0);" url="../graphics/menu/menu0.png"
width="40" y="-80" x="65" style="DelayHide"/>
...
Folders architecture:Pano/en-en /build. xml
Pano/en-en /build0.xml
Pano/it-it /build. xml
Pano/it-it /build0.xml
Pano/analytics.xmlplagins/plagins/analytics/analytics.xml
plagins/Interface/en-en/Interface.xml
plagins/Interface/it-it/Interface.xmlWhat's wrong?
-
Good day!
I need help again. =(
I use the PT 1.8.
I need the one Bing map for all my tours, so I created the tour with Bing map, where are described all my spots, than I cut the code:QuoteDisplay More
<!--************** Plugin Panotour Maps *******************************************************-->
<plugin name="panotourmaps" parent="STAGE" keep="true" devices="flash" url="builddata/graphics/PanotourMaps.swf" mapready="false" onmapready="set(mapready, true);" align="left" y="0" height="100%" x="-25%" width="25%" mapgis="openstreetmap">
<radar visible="true" size="100" linecolor="0xffffff" linealpha="0.494118" fillcolor="0xffffff" fillalpha="0.494118"/>
<spot name="somenamedspot0" onclick="mainloadpano(build0.xml);" url="builddata/graphics/spots/spot0.png" onhover="showtext(12324);" lat="41.8860549927" lng="12.5067901611" heading="270"/>
<spot name="somenamedspot1" onclick="mainloadpano(build1.xml);" url="builddata/graphics/spots/spot1.png" onhover="showtext(qwer);" lat="41.8869247437" lng="12.5070466995" heading="270"/>
</plugin>
<plugin name="panotourmapsthumb" keep="true" devices="flash" url="builddata/graphics/strap.png" align="left" edge="left" handcursor="true" onclick="if (mapsopened == 'true', closepanotourmaps(), openpanotourmaps() );"/>
<action name="openpanotourmaps">
if (isflash,
set(plugin[panotourmapsthumb].mapsopened,'true');
tween(plugin[panotourmaps].x,0%);
tween(area.x,25%);
tween(area.width,75%);
if (mapready,
plugin[panotourmaps].showControls();
,);
,);
</action>
<action name="closepanotourmaps">
if (isflash,
set(plugin[panotourmapsthumb].mapsopened,'false');
tween(plugin[panotourmaps].x,-25%);
tween(area.x,0%);
tween(area.width,100%);
if (mapready,
plugin[panotourmaps].hideControls();
,);
,);
</action>
<plugin name="panotourmapsthumbicon" devices="flash" keep="true" parent="panotourmapsthumb" zorder="0" url="builddata/graphics/ptmaps_open.png" align="center" edge="center" capture="false" enabled="false"/>
<action name="panotourmapsactivespot">
if (isflash,
if (mapready,
plugin[panotourmaps].activatespot(%1);
plugin[panotourmaps].ensurespotvisible(%1);
,);
,);
</action>
<action name="panotourmapsunactivespots">
if (isflash,
if (mapready,
plugin[panotourmaps].activatespot(none);
,);
,);
</action>
<!-- Raise sequence stopper and wait sequence time to break the delayed calls -->
<action name="interruptAnimation">
ifnot (stopSequence === undefined,
set(stopSequence, true);
wait(0);
);
</action>and pasted to the file which is located at ../map/en-en/Bingmap.xml
Question:
Why, if I write in any tour the code asQuotepanotourmapsactivespot(somenamedspot1);
, the spot at the map not activated?
The codeQuote<include url="%BASEDIR%/../../map/en-en/Bingmap.xml">
is present at the main .xml-file.
P.S.
Sorry for my bad english, but, I hope, you can understand the my problem... ( -
-
Many thanks, Klaus!

-
The map is described at map.xml, which is located at http://xxx/resources/tmp/map/it-it/map.xml
How to include this file to the main tour?
Notes as:Quote
<include url="http://xxx/resources/tmp/map/it-it/map.xml"/><include url="xxx/resources/tmp/map/it-it/map.xml"/>
<include url="%SWFPATH%http://xxx/resources/tmp/map/it-it/map.xml"/>
<include url="%SWFPATH%/lxxx/resources/tmp/map/it-it/map.xml"/>
<include url="%SWFPATH%http://xxx/resources/tmp/map/it-it/map.xml"/>not works.
Help please
-
How to know what the .xml-file is loaded now?
I need to do something that:Quote
if is loaded (1.xml) ->> action#1
if is loaded (2.xml) ->> action#2 -
Code:
QuoteDisplay More
...
<style name="DelayHide" <!--delay after which the menu must be closed-->
keep="true"
onout="set(VisMenu, 0);
if(VisMenu == 0,
delayedcall(5, HideNav());
, ShowNav();)"
/>
...
<plugin name="Menu" <!--Menu button-->
keep="true"
align="bottom"
edge="left"
height="15%"
rotate="-90"
url="../builddata/graphics/strap.png"
onclick="if(VisMenu != 1, ShowNav(), HideNav();)"
/>
<plugin name="MenuIcon" <!--Icon of the Menu button-->
parent="Menu"
keep="true"
url="../builddata/graphics/icon_menu.png"
rotate="90"
align="center"
edge="center"
handcursor="true"
onclick="if(VisMenu != 1, ShowNav(), HideNav(););"
/>
<plugin name="Desk" <!--Background for navigation buttons-->
parent="Menu"
keep="true"
url="../builddata/graphics/desk.png"
align="left"
edge="right"
handcursor="true"
width="100"
height="250"
style="DelayHide"
/>
...
<!--BEG*************Menu buttons****************-->
<plugin name="in" parent= "desk" rotate="90" align="right" crop="0|0|65|65" height="prop" keep="true" ondown="set(fov_moveforce,-1);" onout=""
onhover="showtext(Zoom in, navstyle);" onovercrop="0|65|65|65" onup="set(fov_moveforce,0);" url="../builddata/graphics/menu/menu0.png"
width="40" y="-80" x="25"/>
<plugin name="out" parent= "desk" rotate="90" align="right" crop="0|0|65|65" height="prop" keep="true" ondown="set(fov_moveforce,+1);" onout=""
onhover="showtext(Zoom out, navstyle);" onovercrop="0|65|65|65" onup="set(fov_moveforce,0);" url="../builddata/graphics/menu/menu1.png"
width="40" y="-40" x="25"/>
...
<!--*************Menu buttons****************END-->
<action name="HideNav"> <!--Hide navigation-->
tween(plugin[Menu].y, 0, 1);
set(VisMenu, 0); <!--VisMenu - indicator of the open/close menu-->
</action>
<action name="ShowNav"> <!--Show navigation-->
tween(plugin[Menu].y, 85);
set(VisMenu, 1);
</action>
...
So, my problem is in "How to that the menu will be closed after 5 sec. (as example)" when the cursor left the Desk?If I start this code, menu closes after 5 sec.that I would not do, because on the Desk are buttons and action HideNav starts when the cursor change his location from Desk to the button.
When I assigned the style "DelayHide" for buttons, the timer of delayedcall not stoped or reseted (as I thought).
When I wroteQuote...onhover="stoptween(plugin[menu].y);showtext(Zoom in, navstyle);"...
for buttons, the Menu, a little bit, slided down on each changing of the cursor location (button-button, desk-button).
If you knows tell please what's wrong?
-
The style which must to stop rotation when cursor is onhover the hotspot and start rotation, when cursor onout..
QuoteDisplay More
...<style name="stoprotate"
keep="true;"
onhover="if(autorotate.enabled == 1,
RotationTrue();
,);"
/>
...<action name="RotationTrue">
set(autorotate.enabled, 0);
onout= "set(autorotate.enabled,true)";
</action>
...code as:
Quoteonout= "switch(autorotate.enabled)";
Quoteset(style[stoprotate].onout, "switch(autorotate.enabled);");
not works too((
Question:
WHY?!!
-
Thank you, Klaus, but now we decided to pull a specific .xml-file to the specific language
But still thank you =)