He Shanti,
i'm quite sure i did use ...rev2.. but i'm just dutch so
Gonna try the rev 3 now and let's see..
thanx for all your time
Tuur
He Shanti,
i'm quite sure i did use ...rev2.. but i'm just dutch so
Gonna try the rev 3 now and let's see..
thanx for all your time
Tuur
Did rev 3 now and the rest... as u can see at the font..
but the thums still scroll out of their 'territory'..
Lets put some code...
<plugin name="thumbnails"
url="as3Thumbsforkrpano.swf?TheXML=gallery1.xml"
align="leftbottom"
keep="true"
x="330"
y="-42"
scale="0.9"
zorder="100"
/>
and
<images>
<thumboptions>
<ScrollSpeed>25</ScrollSpeed>
<thumbW>120</thumbW>
<ThumbPadding>15</ThumbPadding>
<ShownThumbs>5</ShownThumbs>
<ThumbOffset>-100</ThumbOffset>
<thumbH>60</thumbH>
<InitialAlpha>.2</InitialAlpha>
<font_type>Geneva</font_type>
<font_size>15</font_size>
<font_alpha>1</font_alpha>
<font_color>0xffffff</font_color>
</thumboptions>
<pic>
<thumb>XXX/restaurant2.jpg</thumb>
<panoToLoadXml>s1</panoToLoadXml>
<about>Restaurant 1</about>
</pic>
</image>
Display More
i put all files new out of the download file... may i put to much code in the be to much options in the first code like zorder, x, y, scale...
Thanx
tuur
That is very weird, but *I think* i know the answer I will have to do some tests, and then modify the code.
since I don't have much time I only test it in one environment, but i am going to make a few more examples with different settings (yours being one of them) and see how it behaves.
Tuur: try the attached version;
I tested it offline and it worked perfectly so hopefully it will work.
I added a new option
<thumbMul>2</thumbMul>
the lower the number the sooner the thumbs stop, please try it with 1, 2 or 3 and see what happens.
Attachment removed: Old Version
That looks good i think..
Thanx Shanti for your in put and time..
Cheers
Tuur
I see that when i follow the last thumbnail it still scrolls further (but better) the 1,2,3 settings work but it's not dominant to the mouse over..
i hope that's clear text
When i'm at the right site of the last thumb it moves slowly back to the 2 setting while it starts with 3..
But i'm happy for now..
http://www.virtualtuur.com/Naviduct/tour.html
Thanx
Tuur
Tuur, try to add a bit of offset in the options I see you are using 0, try adding -50 or something like that.
he shanti,
i tried -40, -50,40,-80,- 120..
makes no difference.. the only thing that changes is the x position of the whole scrolling territory.
Thanx
Tuur
Instead of <panoToLoadXml>s1</panoToLoadXml> can it be an action instead ?
So <action> action1 </action>.
It would be good to run an action so that this plugin can be used to display still images instead of loading an XML file for panoramas.
Great work Shanti !!
totaln00ber:
It works exactly like that
krpano.call("action(" + panoToLoad +")");
and as you can see on the xml
<action name="s1">
loadpano(pano.xml,null,MERGE,BLEND(1));
</action>
s1 is an action
you can name your action anything you like, and just replace it in the <panoToLoadXml>
I think the xml is not clear on that, sorry maybe I should rename it to <krpanoaction> ...
Hi,
I downloaded the latest version, the REV4 and I have the following in my xmls:
route as3Thumbsforkrpano.swf is plugins/as3Thumbsforkrpano.swf
route gallery1.xml is plugins/gallery1.xml
route krpano.xml is root
route thumbs is root/thumbs
code krpano.xml:
<krpano version="1.0.7" onstart="action(restaurant_jardí);">
<display details="25" movequality="LOW" stillquality="HIGHSHARP" />
<plugin name="logo" url="logo.png" keep="true" align="lefttop" x="0" y="20" alpha="0.5" onover="tween(alpha,0.8);" onout="tween(alpha,0.5);"/>
<plugin name="thumbnails" url="plugins/as3Thumbsforkrpano.swf?TheXML=./gallery1.xml" capture="false" keep="true" align="left" y="20"/>
<textstyle name="DEFAULT"
font="Arial" fontsize="10"
border="false" background="false"
textcolor="0xFFFFFF"
effect="glow(0x000000,0.7,4,2);dropshadow(2,45,0x000000,3,1);"
/>
<textstyle
name="hotspotstyle"
font="Arial" fontsize="12"
border="false" background="false"
textcolor="0xFFFF00"
textalign="center"
effect="glow(0x000000,0.7,4,2);dropshadow(4,45,0x000000,4,1);"
/>
<plugin name="openfs" url="botones/btn_openfs.jpg" visible="true" align="rightbottom" edge="rightbottom" y="10" x="10" blendmode="screen" onhover="showtext(Enter[br]Fullscreen,hotspotstyle);" onover="set(blendmode,add);" onout="set(blendmode,screen);" onclick="set(fullscreen,true);" />
<plugin name="closefs" url="botones/btn_closefs.jpg" visible="false" align="rightbottom" edge="rightbottom" y="10" x="10" blendmode="screen" onhover="showtext(Exit[br]Fullscreen,hotspotstyle);" onover="set(blendmode,add);" onout="set(blendmode,screen);" onclick="set(fullscreen,false);" />
<events
onenterfullscreen="set(plugin[openfs].visible,false); set(plugin[closefs].visible,true);"
onexitfullscreen="set(plugin[openfs].visible,true); set(plugin[closefs].visible,false);"
/>
<action name="restaurant_jardí">
loadpano(panos/restaurant/jardi/jardi.xml,null,KEEPALL,BLEND(1));
lookat(-182,5,90);
wait(blend);
</action>
<action name="restaurant_1">
loadpano(panos/restaurant/rest_1/rest_1.xml,null,KEEPALL,BLEND(1));
lookat(0,5,90);
wait(blend);
</action>
<action name="restaurant_2">
loadpano(panos/restaurant/rest_2/rest_2.xml,null,KEEPALL,BLEND(1));
lookat(-58,5,90);
wait(blend);
</action>
<action name="restaurant_3">
loadpano(panos/restaurant/rest_3/rest_3.xml,null,KEEPALL,BLEND(1));
lookat(50,5,90);
wait(blend);
</action>
</krpano>
Display More
code gallery1.xml:
<?xml version="1.0" encoding="utf-8"?>
<images>
<thumboptions>
<ScrollSpeed>25</ScrollSpeed>
<thumbW>150</thumbW>
<ThumbPadding>20</ThumbPadding>
<ShownThumbs>5</ShownThumbs>
<ThumbOffset>-100</ThumbOffset>
<thumbH>70</thumbH>
<InitialAlpha>.2</InitialAlpha>
<font_type>Wide Latin</font_type>
<font_size>15</font_size>
<font_alpha>1</font_alpha>
<font_color>0xffffff</font_color>
</thumboptions>
<pic>
<thumb>../thumbs/rest_01.jpg</thumb>
<panoToLoadXml></panoToLoadXml>
<about>Restaurant Jardí</about>
</pic>
<pic>
<thumb>../thumbs/rest_01.jpg</thumb>
<panoToLoadXml></panoToLoadXml>
<about></about>
</pic>
<pic>
<thumb>../thumbs/rest_01.jpg</thumb>
<panoToLoadXml>restaurant_2</panoToLoadXml>
<about></about>
</pic>
<pic>
<thumb>../thumbs/rest_01.jpg</thumb>
<panoToLoadXml>restaurant_3</panoToLoadXml>
<about></about>
</pic>
</images>
Display More
I follow the Treaty of examples in the web and have looked to find the fault because I did not see the scrolling thumbnails.
What am I doing wrong? Is there an error in the XML?
Help please?
can you post a link to the example? the only thing I can think off, its the paths are not correct?
there will be no error, if the thumbs are not found, but there will also be no thumbs :)
It's actually a path problem. Now I have another error. I need to publish with <object> and <embebed>. I tried starting
from scratch with swfObject perfect. When you try the same with object
and embed it's where the problem is, it doesn't appear. I know that publication is not
recommended but I need to do so because it is within a joomla and if
not I can not embed.
can we see a link? maybe there is something we can find from looking at the whole code?
He Shanti,
i still have this problem...
..."i tried -40, -50,40,-80,- 120..
makes no difference.. the only thing that changes is the x position of the whole scrolling territory..."
Any work arounds?
Thanx
Tuur
Tuur: still trying to figure that out, since in all my examples, that does not happend.... I will keep you updated as soon as I find the cause/solution
Thanx Shanti,
don't want to hurry you up... sorry..
Thanx for your great input..
Tuur
Well it seems I found the fix :)
Find attached Rev5 and hopefully everything will work!
please read the readme.txt
Edit: sorry I uploaded the wrong version, if you downloaded it, please re-download
Attachment removed: Old Version
Still the same...
I'll get you a couple of beers anyway... don't worry
Cheers
tuur
Tuur:
http://www.puertovallartavirtualtour.com/krgm/m.php
this is my example, and see how it works?
make sure you are using the Rev5 version... clean your chache.
is it on the same url?
Don’t have an account yet? Register yourself now and be a part of our community!