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.

1

Monday, July 30th 2012, 8:54pm

bingmaps bei speziellen Scenen ausschliessen

Hallo
wenn ich eine bingmap nur in zwei Aussenscenen einbaue

Source code

1
<include url="plugins/bingmap.xml"/>

wie schaffe ich es, dass das plugin nicht bei den Innenszenen geladen wird, obwohl ich ja keep="true" für die Aussenszenen benötige
siehe Code

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
<plugin name="mapcontainer"
		url="mapcontainer.png"
		align="rightbottom"
		alpha=".3"
		keep="true"
		x="-418"
		y="-322"
		children="true"
		onhover="set(alpha,1.0);"
		onout="set(alpha,.3);"
		/>
		
<plugin name="mapclosebutton"
		url="mapclosebutton.png"
		keep="true"
		parent="mapcontainer"
		zorder="4"
		alpha=".3"
		onhover="showtext('Karte schliessen',style-schwarz);"
		onclick="tween(plugin[mapcontainer].x,-418,0.5);
				 tween(plugin[mapcontainer].y,-322,0.5);
				 tween(plugin[karte].x,0,0.5);
				 tween(plugin[karte].y,0,0.5);"
		/>
		
<plugin name="karte"
		align="rightbottom"
		keep="true"
		x="0"
		y="0"
		url="karte.png"
		alpha=".3"
		onhover="set(alpha,1.0);
				 showtext('Karte öffnen',style-schwarz);"
		onout="set(alpha,.3);"
		onclick="tween(plugin[mapcontainer].x,0,0.5);
				 tween(plugin[mapcontainer].y,0,0.5);
				 tween(x,-99); tween(y,-31);"
		/>

<plugin name="bingmap"
		keep="true"
        url="bingmaps.swf"
        align="rightbottom" width="401" height="306" x="2" y="2"
        zorder="3"


Beste Grüße

2

Wednesday, August 1st 2012, 3:38pm

Bei den entsprechenden Szenzen, das Plugin am besten per Code einfach ausblenden (visible=false).

Schöne Grüße,
Klaus