Sie sind nicht angemeldet.

1

Mittwoch, 3. November 2010, 15:37

Open pano(pano compiled in a swf file) above the main pano

Hi everyone,

Here's what i would like to do :
My main pano (type:360°) contains 4 hotspots. By clicking on a hotspot, a popup containing an another pano (type:flat) appears above. By closing this popup, we go back to the main pano.

So i builded my pano (type:360°) like usual with its 4 hotposts.
I builded my another pano (type:flat) and used KProtect to create a swf file called "dragon.swf".

Now i'm trying to display "dragon.swf" in my main pano by declaring :

Quellcode

1
2
3
4
5
6
7
8
<plugin name="photo_dragon" 
			url="dragon.swf"
			align="center"
			width="80%" height="PROP"
			alpha="1"
			zorder="4"	
			visible="true"	 	 	
	/>


But the plugin doesn't appear. I get no error message, so it's not a path issue.
I tried with another swf file (not coming from KProtect), and it worked as expected.

So the issue comes from the swf file generated by KProtect ?

Is there a way to fix this issue.

Thanks for your answer!

2

Mittwoch, 3. November 2010, 17:28

No answer, maybe i wasn't enough clear whith what i would like to do.

To resume, I just want to simulate a lightbox effect by displaying a flat pano over the main 360° pano.

Or maybe should i simply use SHADOWBOX to display my swf ?
Is it possible to call my shadowbox window after clicking on an hotspot of my main pano ?

Quellcode

1
2
3
4
5
<hotspot name="spot_dragon" 
			 url="nav/spot_marker.png"
	     	ath="0" atv="0"
	     	onclick="????????"
	    	/>


Thanks for your answer

3

Mittwoch, 10. November 2010, 15:23

Hi,

sorry, but embedding krpano into an other flash app (or into itself in this case) is not possible yet,

best regards,
Klaus

4

Donnerstag, 11. November 2010, 12:05

Hie,

If you only want to display a flat pano or even a simple image, you don't need to create another SWF in that case.
You only have to use "load" action, to load another pano (flat or not)

5

Donnerstag, 11. November 2010, 15:24

Missz i think you should look into some of the "boxes" out there. Things like Lightbox and or Thickbox. they are java based and will pop a new window on top pf the tour. it is really another instance of whatever brouser the user is using but it is skinned to look fancier. most of them grey out the rest of the screen so when closing them you are left back at the main tour. I have had luck with Thickbox in the past until the last version not it does not work anymore. Somthing to do with the new krpano.js files.

Tuur

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

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

  • Nachricht senden

6

Donnerstag, 11. November 2010, 20:45

Also don't forget to put keep="true" in the plugins..

But as the other answere's say.. find another workaround.

Goodluck!

Tuur *thumbsup*