Sie sind nicht angemeldet.

zyON

Schüler

  • »zyON« ist der Autor dieses Themas

Beiträge: 70

Wohnort: Lisboa, Portugal

  • Nachricht senden

1

Mittwoch, 17. November 2010, 19:36

Problem with zoom buttons losing the action after loading a zoomify scene

This is really weird,

I have a virtual tour all in scenes.
Some of the scenes have hotspots that link to other scenes with Zoomify pictures:

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
	<scene name="zoomify1">
		<view limitview="fullrange"/>
		<image type="ZOOMIFY" hfov="1">
		<zoomify type="CYLINDER" 
				url="photo1/ImageProperties.xml"
				/>
		</image>
		<plugin name="back"
			url="misc/back.png"
			align="righttop"
			y="100"
			onclick="changeScene(get(sname));set(url,misc/btn_back_ON.png)"
			/>
	</scene>


I also have zoom buttons that work well in all scenes but stop working after returning from one of the zoomify scenes like the one above.
The zoom buttons are declared like this:

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
	<plugin name="btnZoomOut" 
		url="%CURRENTXML%/misc/btn_zoomout.png"
		keep="TRUE"
		align="rightbottom"
		x="140"
		y="15"
		alpha="0.3"
		rotate="0"
		ondown="set(fov_moveforce,+0.2);"
		onup="set(fov_moveforce,0);"
		onover="action(fadeinbutton,btnZoomOut)"
		onout="action(fadeoutbutton,btnZoomOut)"
		onhover="showtext(ZoomOut)"
		/>


Any idea why this happens? Thank you.
––––•(-• zyON •-)•––––

2

Freitag, 19. November 2010, 10:24

Hi,

what loading flags your using when loading the other scene or pano?

best regards,
Klaus

zyON

Schüler

  • »zyON« ist der Autor dieses Themas

Beiträge: 70

Wohnort: Lisboa, Portugal

  • Nachricht senden

3

Freitag, 19. November 2010, 22:32

Klaus,

I'm using MERGE, and yes if I remove it, the problem is gone. Now, this is a virtual tour and the MERGE flag really is key. How can I solve this without removing the MERGE flag?

Thanks,
––––•(-• zyON •-)•––––

4

Mittwoch, 24. November 2010, 15:56

Hi,

without MERGE it is working?
I thought there was no MERGE flag...

what about the plugin names - are there any duplicates?
or do you have an online example?

best regards,
Klaus