You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Tuur

Master

Posts: 2,405

Location: Netherlands

Occupation: Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

21

Sunday, March 22nd 2009, 10:11pm

He Shanti,

i'm quite sure i did use ...rev2.. but i'm just dutch so *tongue*

Gonna try the rev 3 now and let's see..

thanx for all your time

Tuur *thumbsup*

Tuur

Master

Posts: 2,405

Location: Netherlands

Occupation: Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

22

Sunday, March 22nd 2009, 11:03pm

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...


Source code

1
2
3
4
5
6
7
8
9
10
<plugin name="thumbnails" 
        url="as3Thumbsforkrpano.swf?TheXML=gallery1.xml" 
        align="leftbottom"
        keep="true"
		x="330"
  	        y="-42"
			scale="0.9"
			zorder="100"
			
        />



and



Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<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>	

	



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...


*confused*

Thanx

tuur *thumbsup*

Shanti

Intermediate

Posts: 301

Location: Puerto Vallarta

Occupation: Web Developer

  • Send private message

23

Monday, March 23rd 2009, 4:23am

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.

Shanti

Intermediate

Posts: 301

Location: Puerto Vallarta

Occupation: Web Developer

  • Send private message

24

Monday, March 23rd 2009, 5:36am

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

This post has been edited 1 times, last edit by "Shanti" (Mar 26th 2009, 11:03am)


Tuur

Master

Posts: 2,405

Location: Netherlands

Occupation: Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

25

Monday, March 23rd 2009, 12:07pm

*thumbsup* *thumbsup* *thumbsup*

That looks good i think..

Thanx Shanti for your in put and time..

Cheers

Tuur *thumbsup*

Tuur

Master

Posts: 2,405

Location: Netherlands

Occupation: Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

26

Monday, March 23rd 2009, 12:17pm

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 *g*

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.. *thumbsup*

http://www.virtualtuur.com/Naviduct/tour.html
Thanx

Tuur *thumbsup*

This post has been edited 2 times, last edit by "Tuur" (Mar 23rd 2009, 4:37pm)


Shanti

Intermediate

Posts: 301

Location: Puerto Vallarta

Occupation: Web Developer

  • Send private message

27

Tuesday, March 24th 2009, 12:40am

Tuur, try to add a bit of offset in the options I see you are using 0, try adding -50 or something like that.

Tuur

Master

Posts: 2,405

Location: Netherlands

Occupation: Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

28

Tuesday, March 24th 2009, 9:30am

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.

*confused*

Thanx

Tuur *thumbsup*

29

Tuesday, March 24th 2009, 11:30pm

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 !! *thumbup*

Shanti

Intermediate

Posts: 301

Location: Puerto Vallarta

Occupation: Web Developer

  • Send private message

30

Wednesday, March 25th 2009, 3:53am

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 *sad* maybe I should rename it to <krpanoaction> ... *confused*

This post has been edited 1 times, last edit by "Shanti" (Mar 25th 2009, 4:20am)


31

Wednesday, March 25th 2009, 12:00pm

I can't see the Scrolling Thumbnails

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:

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<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>


code gallery1.xml:

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?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>


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?

This post has been edited 1 times, last edit by "spasmos" (Mar 25th 2009, 12:35pm)


Shanti

Intermediate

Posts: 301

Location: Puerto Vallarta

Occupation: Web Developer

  • Send private message

32

Wednesday, March 25th 2009, 6:13pm

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 :)

33

Wednesday, March 25th 2009, 7:26pm

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.

Shanti

Intermediate

Posts: 301

Location: Puerto Vallarta

Occupation: Web Developer

  • Send private message

34

Wednesday, March 25th 2009, 7:28pm

can we see a link? maybe there is something we can find from looking at the whole code?

Tuur

Master

Posts: 2,405

Location: Netherlands

Occupation: Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

35

Wednesday, March 25th 2009, 8:00pm

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 *thumbsup*

Shanti

Intermediate

Posts: 301

Location: Puerto Vallarta

Occupation: Web Developer

  • Send private message

36

Wednesday, March 25th 2009, 8:02pm

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

Tuur

Master

Posts: 2,405

Location: Netherlands

Occupation: Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

37

Wednesday, March 25th 2009, 8:08pm

Thanx Shanti,

don't want to hurry you up... sorry..

Thanx for your great input..

Tuur *thumbsup*

Shanti

Intermediate

Posts: 301

Location: Puerto Vallarta

Occupation: Web Developer

  • Send private message

38

Wednesday, March 25th 2009, 9:21pm

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

This post has been edited 2 times, last edit by "Shanti" (Mar 26th 2009, 11:03am)


Tuur

Master

Posts: 2,405

Location: Netherlands

Occupation: Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

39

Wednesday, March 25th 2009, 10:52pm

*cry*

Still the same... *sad*

I'll get you a couple of beers anyway... *g* don't worry

Cheers

tuur *thumbsup*

Shanti

Intermediate

Posts: 301

Location: Puerto Vallarta

Occupation: Web Developer

  • Send private message

40

Wednesday, March 25th 2009, 11:28pm

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?

Similar threads