Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

121

Montag, 3. September 2012, 13:25

ok thanks

in fact i'm using Firefox on mac, but i tested with several browser it's the same.

the problem is not the url in the address bar, it is updated immediatly, the problem is the content of the copied value with copylink() function which is not up to date (it copy "fullurl" value not "value" value)

one thing i don't get : i the newest example you use a variable data[viewurl].content to set the url, ok, but how can this value be copied with copylink() ? it doesn't work.

for the moment the best workaround for me is to not use bitly, use setparam, and tell user to manually copy the link in adresse bar, as copylink don't work with params.

regards

So, this should be the issue of the OS X. There is no issue on Windows.
You can call setparams action on the OS X of course, but you should copy the link stored in krpano var after calling getlinktothisview.

122

Montag, 3. September 2012, 14:20

ok thanks a lot for tips!, it works great with clipboard plugin

looking forward the next version :)

123

Montag, 17. September 2012, 12:11

Hi Jaydee,

is it possible to creat pano subnodes dynamically?

i mean i have a routine that browse all scenes at start, i would like to add then pano subnode for each scene, with its title, path etc..

thanks

124

Dienstag, 18. September 2012, 14:18

hi jaydee,

would it be possible, to get the facebook-sharing-image (the picture aside the text when clicking the facebook button) to be dynamically/predefined per xml/scene?

i mean, right now you can set a path to an image which appears left from the text. is there a way to use an dynamic image (eg. to a thumb-image, like generated in the vtour droplet) per scene/xml?? that would be really cool!

EDIT: so the result should/would be, to have one predefined facebook-thumb per xml-file or scene.

is there any way to achieve this?

cheers
christian

Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »pano_ramic« (19. September 2012, 15:29)


125

Freitag, 21. September 2012, 16:26

Hi Jaydee,

is it possible to creat pano subnodes dynamically?

i mean i have a routine that browse all scenes at start, i would like to add then pano subnode for each scene, with its title, path etc..

thanks


Hi,

It is impossible at the moment. I think that it would be great addition to the swfaddress plugin.
Will try to implement it asap. Thanks for your feedback.

126

Freitag, 21. September 2012, 17:09

hi jaydee,

would it be possible, to get the facebook-sharing-image (the picture aside the text when clicking the facebook button) to be dynamically/predefined per xml/scene?

i mean, right now you can set a path to an image which appears left from the text. is there a way to use an dynamic image (eg. to a thumb-image, like generated in the vtour droplet) per scene/xml?? that would be really cool!

EDIT: so the result should/would be, to have one predefined facebook-thumb per xml-file or scene.

is there any way to achieve this?

cheers
christian

Hi,

I've created a special attribute in pano subnode called onxmlcomplete in order to help developers easily execute some pano-specific code (e.g. active a spot on google maps, hide some controls etc.). You can use this event to set the facebook-sharing-image for each panorama in your tour. Your pano subnodes will look like this:

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
<pano name="pano1"
      scene="pano1"
      pageurl="/pano1/"
      pagetitle="Panorama 1"
      onxmlcomplete="set_share_image('http://site.com/fbthumb1.gif');"
      />
<pano name="pano2"
      scene="pano2"
      pageurl="/pano2/"
      pagetitle="Panorama 2"
      onxmlcomplete="set_share_image('http://site.com/fbthumb2.gif');"
      />


And here is the code of the set_share_image action:

Quellcode

1
2
3
<action name="set_share_image">
	set(data[facebook_share_image].content, %1);
</action>


I hope this will help you.

wilsan

Schüler

Beiträge: 66

Wohnort: Nederland

Beruf: Logistics Specialist – Planning & Logistics

  • Nachricht senden

127

Sonntag, 4. November 2012, 13:57

index.htlm#

Hi Jaydee,
I bought the plugin yesterday, but i do something wrong.
But i can't find out, i used the basic demo.

the link is: http://www.andrewils.nl/iphoneipad/swfa/index.html



and the email, facebook and twitter don't open.

Can you help me to solved this.

regards
Wilsan

Zephyr

Profi

Beiträge: 1 003

Wohnort: Netherlands

Beruf: Web developer

  • Nachricht senden

128

Dienstag, 6. November 2012, 23:06

Hi Jaydee,
I bought the plugin yesterday, but i do something wrong.
But i can't find out, i used the basic demo.

the link is: http://www.andrewils.nl/iphoneipad/swfa/index.html



and the email, facebook and twitter don't open.

Can you help me to solved this.

regards
Wilsan


De url wordt goed geupdate. Ik zie zo niet waarom het sharen niet goed gaat. Ik denk dat het hier aan ligt:
openurl(get(%1), get(data[link_target].content)))); in swfaddress.xml

get(%1) moet gewoon %1 zijn

in english:
The linkable url is working. I can't see directly why sharing isnt working. I think its because the openurl(get(%1), get(data[link_target].content)))); in swfaddress.xml. get(%1) should be %1

wilsan

Schüler

Beiträge: 66

Wohnort: Nederland

Beruf: Logistics Specialist – Planning & Logistics

  • Nachricht senden

129

Mittwoch, 7. November 2012, 19:02

Hi Jaydee,
I bought the plugin yesterday, but i do something wrong.
But i can't find out, i used the basic demo.

the link is: http://www.andrewils.nl/iphoneipad/swfa/index.html



and the email, facebook and twitter don't open.

Can you help me to solved this.

regards
Wilsan
De url wordt goed geupdate. Ik zie zo niet waarom het sharen niet goed gaat. Ik denk dat het hier aan ligt:
openurl(get(%1), get(data[link_target].content)))); in swfaddress.xml

get(%1) moet gewoon %1 zijn

in english:
The linkable url is working. I can't see directly why sharing isnt working. I think its because the openurl(get(%1), get(data[link_target].content)))); in swfaddress.xml. get(%1) should be %1

Zephyr
Thanks for you quick response Zephyr, but I have the adjustment done but unfortunately no change doesn't work.

here is the swfaddres.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<krpano>
	<!-- Data -->
	<data name="email_subject_text"
		  content="Check out this view!"/>
	<data name="email_body_text"
		  content="I really liked this scene inside VIRTUAL_TOUR_NAME! 
"/>
	<data name="facebook_share_title"
		  content="VIRTUAL_TOUR_NAME"/>
	<data name="facebook_share_text"
		  content="I really liked this scene inside this virtual tour!"/>
	<data name="facebook_share_image"
		  content="http://jaydee.ru/kp/sa/demo/images/fbthumb.gif"/>
	<data name="tweeter_share_text"
		  content="Check out this view inside VIRTUAL_TOUR_NAME!"/>
	
	<!-- Plugins -->
	<plugin name="swfaddress" 
			url="plugins/sa.swf"
			alturl="plugins/sa.js"
			keep="true"
			preload="true"
			
			mode="auto"
			randomroot="false"
			parsepaths="true"
			titlePrefix="Virtueel Rondwandelen: "
			titlePostfix=""
			
			onurlchange="activatepano(%PANOID, %TYPE);"
			onpathchange=""
			onparamschange="paramschangeaction();"
			oninvalidaddress="showlog(); trace(Invalid address);"
			>
		<pano name="pano1"
			  xmlurl="%SWFPATH%/pano/0.xml"
			  pageurl="/Concert-zaal/"
			  pagetitle="Het Blauw uurtje in Tilburg. Concert-zaal."
			  onxmlcomplete="trace(Eerste bolpanorama geladen);"
			  />
		<pano name="pano2"
			  xmlurl="%SWFPATH%/pano/1.xml"
			  pageurl="/Koningsplein-fontein/"
			  pagetitle="Het Blauw uurtje in Tilburg. Koningsplein-fontein."
			  onxmlcomplete="trace(Tweede bolpanorama geladen);"
			  />
		<pano name="pano3"
			  xmlurl="%SWFPATH%/pano/2.xml"
			  pageurl="/Prinses-Irene plein/"
			  pagetitle="Het Blauw uurtje in Tilburg. Prinses-Irene plein."
			  onxmlcomplete="trace(Derde bolpanorama geladen);"
			  />
		<pano name="pano4"
			  xmlurl="%SWFPATH%/pano/3.xml"
			  pageurl="/Uitzicht-Heikesekerk/"
			  pagetitle="Het Blauw uurtje in Tilburg. Uitzicht-Heikesekerk."
			  onxmlcomplete="trace(Vierde bolpanorama geladen);"
			  />
	
	
	</plugin>
	
	<plugin name="bitly"
			url="plugins/bitly.swf"
			alturl="plugins/bitly.js"
			keep="true"
			preload="true"
			
			apikey="R_3d14ee49332b7a5659eb2ab8a188b137"
			login="wilsan44"
			onerror="showlog(); trace(The URL cannot be shortened);"
			/>
	
	<!-- Actions -->
	<action name="activatepano">
		if (%2 == scene, loadscene(%1,null,KEEPBASE,BLEND(1)));
		if (%2 == xml, loadpano(%SWFPATH%/%1,null,KEEPBASE,BLEND(1)));
		wait(blend);
	</action>
	
	<action name="paramschangeaction">
		ifnot (plugin[swfaddress].hasparams === false, parseparams(); plugin[swfaddress].removeparams(););
	</action>
	
	<action name="parseparams">
		if (plugin[swfaddress].param_ath !== null, copy(p_ath, plugin[swfaddress].param_ath), copy(p_ath, view.hlookat));
		if (plugin[swfaddress].param_atv !== null, copy(p_atv, plugin[swfaddress].param_atv), copy(p_atv, view.vlookat));
		if (plugin[swfaddress].param_fov !== null, copy(p_fov, plugin[swfaddress].param_fov), copy(p_fov, view.fov));
		lookto(get(p_ath), get(p_atv), get(p_fov));
	</action>
	
	<action name="getlinktothisview">
		set(data[viewurl].content, null);
		txtadd(data[viewurl].content, get(plugin[swfaddress].baseurl), '#', get(plugin[swfaddress].path), '?ath=', get(view.hlookat), '&amp;atv=', get(view.vlookat), '&amp;fov=', get(view.fov));
	</action>
	
	<action name="prepareurl">
		getlinktothisview();
		plugin[bitly].shorten(data[viewurl].content, true);
	</action>
	
	<action name="openlink">
		if (ishtml5, plugin[swfaddress].replaceampersands(get(%1), %1));
		if (ishtml5, set(data[link_target].content, '_self'), set(data[link_target].content, '_blank'));
		if (plugin[swfaddress].isiframe, set(data[link_target].content, '_top'));
		openurl(%1, get(data[link_target].content))));
	</action>
	
	<!-- Share via e-mail actions -->
	<action name="share_via_email">
		set(plugin[bitly].onsuccess, share_url_via_email(%URL););
		prepareurl();
	</action>
	
	<action name="share_url_via_email">
		set(data[link].content, null);
		txtadd(data[link].content, 'mailto:?subject=', get(data[email_subject_text].content), '&amp;body=', get(data[email_body_text].content), %1);
		openlink(data[link].content);
	</action>
	
	<!-- Share on Facebook actions -->
	<action name="share_on_facebook">
		set(plugin[bitly].onsuccess, share_url_on_facebook(%URL););
		prepareurl();
	</action>
	
	<action name="share_url_on_facebook">
		set(data[link].content, null);
		txtadd(data[link].content, 'http://www.facebook.com/sharer.php?s=100&amp;p[title]=', get(data[facebook_share_title].content), '&amp;p[url]=', %1, '&amp;p[images][0]=', get(data[facebook_share_image].content), '&amp;p[summary]=', get(data[facebook_share_text].content));
		openlink(data[link].content);
	</action>
	
	<!-- Share on Twitter actions -->
	<action name="share_on_twitter">
		set(plugin[bitly].onsuccess, share_url_on_twitter(%URL););
		prepareurl();
	</action>
	
	<action name="share_url_on_twitter">
		set(data[link].content, null);
		txtadd(data[link].content, 'http://twitter.com/share?text=', get(data[tweeter_share_text].content), '&amp;url=', %1);
		openlink(data[link].content);
	</action>
</krpano>


and here the tour.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
<krpano version="1.0.8.14" showerrors="true" logkey="true">
	
	<include url="swfaddress.xml"/>
	<include url="skin/defaultskin.xml" />
	
	<plugin name="pano1" 
			url="images/thumb1.jpg" 
			keep="true"
			align="topleft"
			alpha="0.5"
			scale="0.30" 
			x="10"
			y="10"
			altonloaded="if(isphone, mul(scale,2));"
			onclick="activatepano(pano/0.xml, xml);"
			onhover="showtext(Concert-zaal, hotspottextstyle);"
			onover="tween(plugin[pano1].alpha, 1, distance(5,2), linear); tween(plugin[pano1].scale, 0.35, distance(5,2), linear);"
			onout="tween(plugin[pano1].alpha, 0.5, distance(5,2), linear); tween(plugin[pano1].scale, 0.30, distance(5,2), linear);"
			root="false"
			/>
	
	<plugin name="pano2"
			url="images/thumb2.jpg" 
			keep="true"
			align="topleft"
			alpha="0.5"
			scale="0.30" 
			x="10"
			y="95"
			altonloaded="if(isphone, mul(y,2); mul(scale,2));"
			onclick="activatepano(pano/1.xml, xml);"
			onhover="showtext(Koningsplein-fontein, hotspottextstyle);"
			onover="tween(plugin[pano2].alpha, 1, distance(5,2), linear); tween(plugin[pano2].scale, 0.35, distance(5,2), linear);"
			onout="tween(plugin[pano2].alpha, 0.5, distance(5,2), linear); tween(plugin[pano2].scale, 0.30, distance(5,2), linear);"
			root="false"
			/>
	
	<plugin name="pano3"
			url="images/thumb3.jpg" 
			keep="true"
			align="topleft"
			alpha="0.5"
			scale="0.30" 
			x="10"
			y="180"
			altonloaded="if(isphone, mul(y,2); mul(scale,2));"
			onclick="activatepano(pano/2.xml, xml);"
			onhover="showtext(Prinses-Irene plein, hotspottextstyle);"
			onover="tween(plugin[pano3].alpha, 1, distance(5,2), linear); tween(plugin[pano3].scale, 0.35, distance(5,2), linear);"
			onout="tween(plugin[pano3].alpha, 0.5, distance(5,2), linear); tween(plugin[pano3].scale, 0.30, distance(5,2), linear);"
			root="false"
			/>
	
	<plugin name="pano4"
			url="images/thumb4.jpg" 
			keep="true"
			align="topleft"
			alpha="0.5"
			scale="0.30" 
			x="10"
			y="265"
			altonloaded="if(isphone, mul(y,2); mul(scale,2));"
			onclick="activatepano(pano/3.xml, xml);"
			onhover="showtext(Uitzicht-Heikesekerk, hotspottextstyle);"
			onover="tween(plugin[pano4].alpha, 1, distance(5,2), linear); tween(plugin[pano4].scale, 0.35, distance(5,2), linear);"
			onout="tween(plugin[pano4].alpha, 0.5, distance(5,2), linear); tween(plugin[pano4].scale, 0.30, distance(5,2), linear);"
			root="false"
			/>
	
	<plugin name="email_button"
			url="images/email.png"
			align="topright"
			x="10"
			y="10"
			altonloaded="if(isphone, mul(x,2); mul(y,2); mul(scale,2));"
			onhover="showtext(Share this view via e-mail, hotspottextstyle);"
			onclick="share_via_email();"
			/>
			
	<plugin name="facebook_button"
			url="images/facebook.png"
			align="topright"
			x="50"
			y="10"
			altonloaded="if(isphone, mul(x,2); mul(y,2); mul(scale,2));"
			onhover="showtext(Share this view on Facebook, hotspottextstyle);"
			onclick="share_on_facebook();"
			/>
	
	<plugin name="twitter_button"
			url="images/twitter.png"
			align="topright"
			x="90"
			y="10"
			altonloaded="if(isphone, mul(x,2); mul(y,2); mul(scale,2));"
			onhover="showtext(Share this view on Twitter, hotspottextstyle);"
			onclick="share_on_twitter();"
			/>
	
	<textstyle name="hotspottextstyle" 
	       	font="Arial" fontsize="18" bold="true" italic="true" textcolor="0xFFF7EF" background="false" border="false"
	       	alpha="1" blendmode="layer" effect="glow(0x000000,0.5,4,3);dropshadow(4,45,0x000000,4,0.66);" 
	       	origin="cursor" edge="bottom" textalign="center" xoffset="0" yoffset="-3" noclip="true" showtime="0.1" fadetime="0.25" fadeintime="0.1" 
	       	/>
	
	<plugin name="logo"
 	    	url="skin/Logo_andrewils.png"
	    	keep="true"
 	    	visible="true" enabled="true" handcursor="true" capture="true" children="true"
 	    	zorder="0"
 	    	alpha="1.00" blendmode="normal"
 	    	smoothing="true"
 	    	origin="rightbottom" edge=""
 	    	x="10" y="10"
 	    	width="85" height="85"
	    	scale="1.3"
	    	onloaded=""
			altonloaded="if(isphone, mul(x,2); mul(y,2); mul(scale,2));"
	    	onover=""
	    	onhover="showtext(voor meer informatie bezoek www.andrewils.nl, hotspottextstyle);"
	    	onout=""
	    	ondown=""
	    	onup=""
	    	onclick="openurl(http://www.andrewils.nl);"
	    	/>
	
	<scene name="scene0">
		<view hlookat="0" vlookat="0" fovtype="MFOV" fov="90" maxpixelzoom="2.0" fovmax="120" limitview="auto" />
		
		<preview url="%SWFPATH%/tiles/0.tiles/preview.jpg" />
		
		<image>
			<cube url="%SWFPATH%/tiles/0.tiles/pano_%s.jpg" />
			<mobile>
				<cube url="%SWFPATH%/tiles/0.tiles/mobile_%s.jpg" />
			</mobile>
		</image>
	</scene>
	
	<scene name="scene1">
		<view hlookat="0" vlookat="0" fovtype="MFOV" fov="90" maxpixelzoom="2.0" fovmax="120" limitview="auto" />
		
		<preview url="%SWFPATH%/tiles/1.tiles/preview.jpg" />
		
		<image>
			<cube url="%SWFPATH%/tiles/1.tiles/pano_%s.jpg" />
			<mobile>
				<cube url="%SWFPATH%/tiles/1.tiles/mobile_%s.jpg" />
			</mobile>
		</image>
	</scene>
	
	<scene name="scene2">
		<view hlookat="0" vlookat="0" fovtype="MFOV" fov="90" maxpixelzoom="2.0" fovmax="120" limitview="auto" />
		
		<preview url="%SWFPATH%/tiles/2.tiles/preview.jpg" />
		
		<image>
			<cube url="%SWFPATH%/tiles/2.tiles/pano_%s.jpg" />
			<mobile>
				<cube url="%SWFPATH%/tiles/2.tiles/mobile_%s.jpg" />
			</mobile>
		</image>
	</scene>
	
	<scene name="scene3">
		<view hlookat="0" vlookat="0" fovtype="MFOV" fov="90" maxpixelzoom="2.0" fovmax="120" limitview="auto" />
		
		<preview url="%SWFPATH%/tiles/3.tiles/preview.jpg" />
		
		<image>
			<cube url="%SWFPATH%/tiles/3.tiles/pano_%s.jpg" />
			<mobile>
				<cube url="%SWFPATH%/tiles/3.tiles/mobile_%s.jpg" />
			</mobile>
		</image>
	</scene>
	
</krpano>


I don't know what I am doing wrong. *confused*

The link show still the html file. (index.html#) *confused*

regards, Wilsan

130

Donnerstag, 22. November 2012, 10:56

email, facebook and twitter don't open - I have the same problem

Hi jaydee,


I have the same problem like Wilsan.


The social services buttons are not active.
They not respont an any click...

I have a second problem to: By panorama-changing in my tour (to a second pano), the social-buttons dissapear. There are just on the first (main) pano present. I have to Implement the code for the social buttons on every xml file in my tour?

I noticed that by Wilsan and by my tour-url also the "#" is not between two slash like "example.html/#/deeplink1", but so "example.html#/deeplink1".
Is the missing first slash the problem?

If so, how do I get the missing first slash?

Otherwise, its a really great plugin... thx


Regards
morpheuss
http://krpano.com/forum/wbb/index.php?page=User&userID=2212

131

Donnerstag, 22. November 2012, 12:43

"Invalid Address" by changing pano through dropdown list

Hi jaydee,

I have a nother problem.

I have a tour with many panos spread over vour floors (same domain).

The flors are reachable through a drop down list.

I have included the tour for testing in a iframe and as a object also.

When I click in the dropdown list for the next entry,
then the next tour (thumbs, maps, ...) is loading, but the startpano not.

I get the error message: "invalid address"

What can I do to solve the problem?

P. S. Without a iframe or objekt works the dropdownlist fine.
But unfortunately I need for my customers the iframe/objekt-including solution...

thx in advance
morpheuss

132

Freitag, 30. November 2012, 10:23

problem with <layer> and <include>

1./Was somebody able to put the layer type container to the file called by swfaddress plugin (0.xml in example)?

<layer name="abc" type="container" maskchildren="true" ............>


<plugin name="traumschifffhh_tha" url="skin/traumschiff_th.png" scale="0.8"
.......... />

</layer>

normal are working ok, but if I will put plugin in container, it is not visible ...

2./Also, it seems, that there is the same problem with using <include>

<include url="test.xml" />

with swfaddress plugin-called xml file too...

Can somebody test, if it is problem of swfaddress plugin generally?


EDIT: in 1/ I am wtiting, that normal plugins are wrking ok, but that´s not true - hotspots are working, but plugins not!
Best regards,
Igor Socha

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »igor.socha« (30. November 2012, 10:54)


133

Montag, 24. Dezember 2012, 10:17

Same Problem with Facebook, Twitter and eMail buttons

Hi all,

Could someone please help us to solve this problem. A click on one of the three buttons does nothing.
I used the demo on my local computer and also I uploaded it on the online server to test if I did a mistake with the full version. But the results are the same.

Tip:
If you are a Kolor Panotour user and a click on a hotsopt doesn't change the URL in the address bar, you will need to change a line in the action (activatepano) called by swfadress from loadpano into mainloadpano:
from:

Quellcode

1
2
3
4
5
<action name="activatepano">
		if (%2 == scene, loadscene(%1,null,KEEPBASE,BLEND(1)));
		if (%2 == xml, loadpano(%SWFPATH%/%1,null,KEEPBASE,BLEND(1)));
		wait(blend);
</action>


to

Quellcode

1
2
3
4
5
<action name="activatepano">
		if (%2 == scene, loadscene(%1,null,KEEPBASE,BLEND(1)));
		if (%2 == xml, mainloadpano(%SWFPATH%/%1,null,KEEPBASE,BLEND(1)));
		wait(blend);
</action>


Also add the following line to your hotspot onclick action:

Quellcode

1
activatepano('YOUR XML FILE', 'xml');


It should then look like that:

Quellcode

1
onclick="looktohotspot(get(name),get(view.fovmin),smooth(400,20,100));mainloadpano(YOUR XML FILE);activatepano('YOUR XML FILE', 'xml');lookat(get(panoview.h),get(panoview.v),get(panoview.fov));wait(blend);lookto(get(hview),get(vview),get(fovview),smooth(100,20,50));"


That solved my first problem with swfaddress.

Thanks
Hossam

134

Mittwoch, 9. Januar 2013, 07:33

Loading different urls from iframes and direct from browser

Hi there

I have read through the whole forum learning from you all and trying to see if anyone else has already solved my problem.

We have a use case / problem similar to Ariel on page 5, whereby we are trying to embed different scenes of a tour into different corresponding pages.

My issue is that going directly to a deep link inside a tour (in a fresh page or in an iframe) - ie, tour.html#/4/ , immediately reverts to tour.html#/1/. Changing the url from the first scene to a different one works, but not when opening a fresh tab. I notice though that the demo tour for swfaddress works just fine linking directly to the different scenes, ie going directly to #/ring/ brings up the correct scene, and I'm using the same source code, so I'm wondering why it isn't working for me.

Is there an easy solution for this? I tried using Ariel's solution but couldn't get it to work.
Thanks for your time

135

Freitag, 11. Januar 2013, 12:21

Hi,

thank you for this great plugin.
it work very well.

just the share don't work. when i click on the socials buttons, nothing happend. i compare the code with mine, but even when i put online the demo with the liscence, it don't work.

is there something to do specificly on servers, or something ?

(bit.ly see the action when i click on the socials buttons, but nothing happen in the tour..)

any idea ?

thanks by advance,

136

Donnerstag, 17. Januar 2013, 17:30

share solve

Hello everyone,

to solve the issue of the share, you just have to replace bitly.swf by an older version of the plugin. as you can see bitly.js allready works !

bitly just change some features and those are not fully compatible with de last version of bitly.

thanks to alex from jaydee !

see you next time ;-)

wilsan

Schüler

Beiträge: 66

Wohnort: Nederland

Beruf: Logistics Specialist – Planning & Logistics

  • Nachricht senden

137

Sonntag, 20. Januar 2013, 15:42

Share Solved thanks to Sisso

Hello Sisso,

Thanks for your tip to replace bitly by an older version, it works now also fine.
Indeed the share is solved now. *thumbsup*

Jaydee this is a great plugin, Thanks.

I have one thing to solve thats the link i get still "index.html#" can somebody help me. *sad*
http://bit.ly/VgDAYo

Thanks in advance.

Wilsan

138

Mittwoch, 23. Januar 2013, 00:41

hi

SWFAddress and iframe is ok for Chrome, safarie and explorer.
but does not work with firefox. I have version 18.1 of firefox.

Is there a solution?

thank you

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »kaena« (23. Januar 2013, 08:39)


139

Mittwoch, 23. Januar 2013, 01:06

to solve the issue of the share, you just have to replace bitly.swf by an older version of the plugin. as you can see bitly.js allready works !

bitly just change some features and those are not fully compatible with de last version of bitly.
Hi sisso,

I really appreciate your support.
I tried it and it worked perfectly.

Thank you very much
Hossam

140

Montag, 28. Januar 2013, 12:10

problems sharing via social media buttons

Hello Jaydee, hi all!

I have now tried to get swfaddress for weeks and got it more or less successfully working today.
Direct links to specific scenes in one .xml work at least.
Now my problem is with sharing via social media buttons. Using bitly v1.2.5 nothing happens when SM buttons are klicked, with v1.2.6 it seems to work but there is always the first pano at default FOV appearing.

Does someone have an idea what the problem could be? I've been trying several version combinations and fortunately I got it working to this stage by now but now I'm stuck.

Here is the link to my test-scene
http://www.alpano.at/tests/20121212_swfaddress/

thanks in advance
andi


----

Sorry, as I have been watching this forum for such a long time that I forgot that I never wrote anything and so I kindly may introduce myself now ;)

I am from Austria an I have been working mainly as an 3D and compositing artist since 1997. Working with Cameras (Photo, Video, Film:S8) was always a pleasure for me since I was 10 or so and I started early to make panoramic pictures by arranging pictures of mountain views. In the late 1990ies I learned QTVR but I was really not satisfied with the quality you where able to bring to a customer/user/recipient.
I always had an eye on development of pano-technology and was pleased when I - at least - found krpano player and so I decided to go deeper in this topic, not only to get a little away from computers ;)
I'm not really a professional in doing pano-tours but I have already done a couple of them and I want to develop my skills further more.

I am not a big (forum) writer and I am used to find out things by myself, but when I'm stuck I search in forums to maybe get some input. Nevertheless, if I can help someone I am pleased to do so if I will!

----

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »a_tekautz« (28. Januar 2013, 17:52)