Sie sind nicht angemeldet.

Tuur

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Nachricht senden

21

Sonntag, 22. März 2009, 22:11

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

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Nachricht senden

22

Sonntag, 22. März 2009, 23:03

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


Quellcode

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



Quellcode

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

Fortgeschrittener

Beiträge: 301

Wohnort: Puerto Vallarta

Beruf: Web Developer

  • Nachricht senden

23

Montag, 23. März 2009, 04:23

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

Fortgeschrittener

Beiträge: 301

Wohnort: Puerto Vallarta

Beruf: Web Developer

  • Nachricht senden

24

Montag, 23. März 2009, 05:36

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

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Shanti« (26. März 2009, 11:03)


Tuur

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Nachricht senden

25

Montag, 23. März 2009, 12:07

*thumbsup* *thumbsup* *thumbsup*

That looks good i think..

Thanx Shanti for your in put and time..

Cheers

Tuur *thumbsup*

Tuur

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Nachricht senden

26

Montag, 23. März 2009, 12:17

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*

Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »Tuur« (23. März 2009, 16:37)


Shanti

Fortgeschrittener

Beiträge: 301

Wohnort: Puerto Vallarta

Beruf: Web Developer

  • Nachricht senden

27

Dienstag, 24. März 2009, 00:40

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

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Nachricht senden

28

Dienstag, 24. März 2009, 09:30

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

Dienstag, 24. März 2009, 23:30

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

Fortgeschrittener

Beiträge: 301

Wohnort: Puerto Vallarta

Beruf: Web Developer

  • Nachricht senden

30

Mittwoch, 25. März 2009, 03:53

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*

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Shanti« (25. März 2009, 04:20)


31

Mittwoch, 25. März 2009, 12:00

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:

Quellcode

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:

Quellcode

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?

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »spasmos« (25. März 2009, 12:35)


Shanti

Fortgeschrittener

Beiträge: 301

Wohnort: Puerto Vallarta

Beruf: Web Developer

  • Nachricht senden

32

Mittwoch, 25. März 2009, 18:13

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

Mittwoch, 25. März 2009, 19:26

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

Fortgeschrittener

Beiträge: 301

Wohnort: Puerto Vallarta

Beruf: Web Developer

  • Nachricht senden

34

Mittwoch, 25. März 2009, 19:28

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

Tuur

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Nachricht senden

35

Mittwoch, 25. März 2009, 20:00

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

Fortgeschrittener

Beiträge: 301

Wohnort: Puerto Vallarta

Beruf: Web Developer

  • Nachricht senden

36

Mittwoch, 25. März 2009, 20:02

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

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Nachricht senden

37

Mittwoch, 25. März 2009, 20:08

Thanx Shanti,

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

Thanx for your great input..

Tuur *thumbsup*

Shanti

Fortgeschrittener

Beiträge: 301

Wohnort: Puerto Vallarta

Beruf: Web Developer

  • Nachricht senden

38

Mittwoch, 25. März 2009, 21:21

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

Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »Shanti« (26. März 2009, 11:03)


Tuur

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Nachricht senden

39

Mittwoch, 25. März 2009, 22:52

*cry*

Still the same... *sad*

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

Cheers

tuur *thumbsup*

Shanti

Fortgeschrittener

Beiträge: 301

Wohnort: Puerto Vallarta

Beruf: Web Developer

  • Nachricht senden

40

Mittwoch, 25. März 2009, 23:28

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?

Ähnliche Themen