You are not logged in.

1

Sunday, May 25th 2014, 3:02pm

Tooltip für Touchscreens

Hallo,

ich habe ein kleines Problem mit den Tooltips. Für die Mausbedienung benutze ich folgendes xml/action code für die Tooltips:

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
       	<style name="tooltiphover" 
				onover="copy(layer[tooltip].html, tooltip);
				set(layer[tooltip].visible, true);
				set(layer[tooltip].alpha, 1.0);
				spheretoscreen(ath,atv, posx, posy);
				add(posy, 100);
				asyncloop(hovering, copy(layer[tooltip].x, posx); copy(layer[tooltip].y, posy)); );"
				onout="set(layer[tooltip].visible,false);"
			/>

			<layer name="tooltip" 
				keep="true" 
				url="../plugins/textfield.swf" 
				parent="STAGE" 
				visible="false" 
				alpha="0" 
				enabled="false" 
				align="lefttop" 
				edge="bottom" 
				oy="-2" 
				width="200" 
				autoheight="true" 
				background="true"
				backgroundcolor="0xFFFFFF" 
				backgroundalpha="0.7" 
				border="false" 
				roundedge="7" 
				shadow="0" 
				textshadow="0" 
				css="text-align:center; color:#000000; font-family:Arial; font-weight:bold; font-size:14px;" 
				html=""
				/>

       	<hotspot name="Pano_4"
				ath="90"
				atv="5.44"
				url="../images/vtourskin_hotspot.png"
				alpha="0.4"
				style = "tooltiphover"
				tooltip="Weiter zum [br] Wohnen"
				edge="top"
			/>


gibt es eine Möglichkeit den Tooltip bei Touchscreens dauerhaft beim Hotspot anzuzeigen?

Danke schon mal für die Hilfe und Viele Grüße

2

Tuesday, May 27th 2014, 8:20am

Dafür lässt sich das textfield-plugin hervorragend nutzen. Einfach zu jedem Hotspot das dazugehörige textfield-plugin erstellen, idealerweise automatisch per action.

Gruß,
Nupsi