Hallo,
ich möchte statt showtext jetzt die Flash Variante der Tooltips verwenden.
Aus den Beispielen habe ich folgenden Code in meine Tour übernommen:
Code
<style name="tooltips" onover="copy(layer[tooltips_text].html, tooltip);
set(layer[tooltips_text].visible, true);
tween(layer[tooltips_text].alpha, 0.75, 0.5);
asyncloop(hovering, copy(layer[tooltips_text].x,mouse.stagex);
copy(layer[tooltips_text].y,mouse.stagey); );"
onout="tween(layer[tooltips_text].alpha, 0.0, 0.25, default,
set(layer[tooltips_text].visible,false),
copy(layer[tooltips_text].x,mouse.stagex);
copy(layer[tooltips_text].y,mouse.stagey); );"/>
<!-- the 'tooltip' textfield -->
<layer name="tooltips_text" keep="true" url="%SWFPATH%/plugins/textfield.swf" parent="STAGE"
visible="false" alpha="0" enabled="false" align="lefttop" edge="leftbottom" oy="-10"
width="100" autoheight="true" background="true" backgroundcolor="0x686868"
backgroundalpha="1.0" border="true" bordercolor="0x191919" borderalpha="1.0" borderwidth="1.0"
roundedge="0" shadow="0.0" shadowrange="4.0"
shadowangle="45" shadowcolor="0x000000" shadowalpha="1.0"
textshadow="1" textshadowrange="6.0" textshadowangle="90" textshadowcolor="0x000000" textshadowalpha="1.0"
xoffset="0" yoffset="-3"
css="text-align:center; color:#FFFFFF; font-family:Arial; font-weight:normal; font-size:12px;" html=""/>
Display More
Meine Frage:
Kann ich den "style" einem plugin so zuweisen?
und dann möchte ich den in der "Scene!" gesetzten tooltip auslesen und zuweisen, krieg das so aber nicht hin.
Hat jemand einen Tipp was da fallsch ist?
Danke
Michael