|
|
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 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 |
<plugin name="map"
url="grundriss.jpg"
align="leftbottom"
alpha="0.3"
keep="true"
x="0"
y="0"
onhover="set(alpha,1.0);"
onout="set(alpha,0.3);"
children="true"
/>
<plugin name="schließen"
url="X.png"
alpha="0.3"
parent="map"
align="righttop"
x="-15"
y="-15"
keep="true"
onhover="showtext(verkleinern,tooltip)"
onclick="tween(plugin[map].x,-330,0.5);tween(plugin[map].y,-324,0.5);tween(plugin[einblenden].x,0,0.5);tween(plugin[einblenden].y,0,0.5);"
/>
<plugin name="einblenden"
url="gr_button.png"
align="leftbottom"
alpha="0.3"
keep="true"
x="-200"
y="-50"
onhover="set(alpha,1.0);showtext(anzeigen,tooltip);"
onout="set(alpha,0.3);"
onclick="tween(plugin[map].x,0,0.5);tween(plugin[map].y,0,0.5);tween(x,-200,0.5);tween(y,-50,0.5);"
/>
<plugin name="dot1"
url="dot.png"
parent="map"
keep="true"
align="lefttop"
zorder="5"
x="65"
Y="150"
onhover="showtext(ins Bad springen,tooltip)"
onclick="action(wechsel,bad);"
/>
<plugin name="dot2"
url="dot.png"
parent="map"
keep="true"
align="lefttop"
zorder="5"
x="90"
Y="250"
onhover="showtext(zur Küche springen,tooltip)"
onclick="action(wechsel,kueche);"
/>
<plugin name="dot3"
url="dot.png"
parent="map"
keep="true"
align="lefttop"
zorder="5"
x="220"
Y="150"
onhover="showtext(ins Wohnzimmer springen,tooltip)"
onclick="action(wechsel,wohnzimmer);"
/>
|
|
|
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 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 |
<action name="wechsel">
loadpano(%1.xml,null,MERGE,BLEND(1));
</action>
<!-- Defintition ´Karte mit Grundriss -->
<plugin name="map"
url="grundriss.jpg"
align="leftbottom"
alpha="0.3"
keep="true"
x="0"
y="0"
onhover="set(alpha,1.0);"
onout="set(alpha,0.3);"
children="true"
/>
<!-- Schließensymbol zum Ausblenden der Karte-->
<plugin name="schließen"
url="X.png"
alpha="0.3"
parent="map"
align="righttop"
x="-15"
y="-15"
keep="true"
onhover="showtext(verkleinern,tooltip)"
onclick="tween(plugin[map].x,-330,0.5);tween(plugin[map].y,-324,0.5);tween(plugin[einblenden].x,0,0.5);tween(plugin[einblenden].y,0,0.5);"
/>
<!-- Öffnensymbol zum Einblenden der Karte -->
<plugin name="einblenden"
url="gr_button.png"
align="leftbottom"
alpha="0.3"
keep="true"
x="-200"
y="-50"
onhover="set(alpha,1.0);showtext(anzeigen,tooltip);"
onout="set(alpha,0.3);"
onclick="tween(plugin[map].x,0,0.5);tween(plugin[map].y,0,0.5);tween(x,-200,0.5);tween(y,-50,0.5);"
/>
<!-- Direktwahlpunkte AUF Karte zum Springen -->
<plugin name="dot1"
url="dot.png"
parent="map"
keep="true"
align="lefttop"
zorder="5"
x="65"
Y="150"
onhover="showtext(ins Bad springen,tooltip)"
onclick="action(wechsel,bad);"
/>
<plugin name="dot2"
url="dot.png"
parent="map"
keep="true"
align="lefttop"
zorder="5"
x="90"
Y="250"
onhover="showtext(zur Küche springen,tooltip)"
onclick="action(wechsel,kueche);"
/>
<plugin name="dot3"
url="dot.png"
parent="map"
keep="true"
align="lefttop"
zorder="5"
x="220"
Y="150"
onhover="showtext(ins Wohnzimmer springen,tooltip)"
onclick="action(wechsel,wohnzimmer);"
/>
<plugin name="radar"
visible="true"
url="radar.swf"
size="80"
parent="map"
fillalpha="0.2"
fillcolor="0x99ff33"
linealpha="1.0"
linewidth="2.0"
linecolor="0xffff66"
glow="true"
glowcolor"0x99ff33"
glowwidth="4"
glowstrength="3"
/>>
|
|
|
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 |
loadpano(%1.xml,null,MERGE,BLEND(1));
<plugin name="dot1"
url="dot.png"
parent="map"
keep="true"
align="lefttop"
zorder="5"
x="65"
Y="150"
onhover="showtext(ins Bad springen,tooltip)"
onclick="action(wechsel,bad);set(plugin[radar].x, 65);set(plugin[radar].y, 105));"
/>
<plugin name="dot2"
url="dot.png"
parent="map"
keep="true"
align="lefttop"
zorder="5"
x="90"
Y="250"
onhover="showtext(zur Küche springen,tooltip)"
onclick="action(wechsel,kueche);set(plugin[radar].x, 90);set(plugin[radar].y, 250);"
/>
<plugin name="dot3"
url="dot.png"
parent="map"
keep="true"
align="lefttop"
zorder="5"
x="220"
Y="150"
onhover="showtext(ins Wohnzimmer springen,tooltip)"
onclick="action(wechsel,wohnzimmer);set(plugin[radar].x, 220);set(plugin[radar].y, 150);"
/>
|
This post has been edited 1 times, last edit by "mÖre" (Apr 23rd 2013, 3:49pm)