Hi @ all,
ich möchte einen Helpscreen per Knopfdruck ein/ausblenden. Ausgeblendet werden kann er auch, indem man auf den Helpscreen selbst klickt.
Bis zur Version 1.0.8.14 hat das so wunderbar funktioniert:
Code
<plugin name="info" style="button" x="+160" crop="561|0|40|40" onovercrop="561|40|40|40" ondowncrop="561|80|40|40" onhover="showtext(Hilfe ,buttonstyle);" onclick="displayHelp();" visible="true" onover="tween(alpha,1);" onout="tween(alpha,0.6);" />
<plugin name="helpScreen" align="center" customColor="true" keep="true" onclick="closeHelp();" url="skin/helpscreen.png" visible="false" />
<action name="displayHelp">
set(plugin[helpScreen].alpha,0);
set(plugin[helpScreen].blur,15);
set(plugin[helpScreen].visible,true);
set(plugin[helpScreen].enabled,true);
tween(plugin[helpScreen].alpha,1,0.3);
tween(plugin[helpScreen].blur,1,0.3);
set(plugin[info].onclick,closeHelp();)
</action>
<action name="closeHelp">
set(plugin[helpScreen].enabled,false);
tween(plugin[helpScreen].alpha,0,0.3,null,set(plugin[helpScreen].visible,false));
tween(plugin[helpScreen].blur,20,0.3);
set(plugin[info].onclick,displayHelp();)
</action>
Display More
Jetzt klappt das ausblenden nicht mehr und ich würde mich über ein Tipp sehr freuen. Denke das ist eine Kleinigkeit.
LG Andy