Da ich weiß, wie hilfreich funktionierende Beispiele sind, hier ein möglicher Ansatz für deine weiteren Experimente. Live sieht das dann
so aus.
$this->cacheCode('[php]','<!-- Map -->
<plugin name="map"
url="skin/map.jpg"
align="leftcenter" width="529" height="323" x="0" y="0"
keep="true"
zorder="1"
handcursor="false"
activespotenabled="false"
alpha="1"
visible="true"
scalechildren="true"
onloaded="delayedcall(2.0, hidemenu());"
onover="tween(alpha,1,distance(1,1));"
onout="tween(alpha,1,distance(1,1));" />
<plugin name="closemap" url="skin/closemap.png" keep="true" parent="map" align="leftcenter" edge="leftcenter" x="529" y="0" alpha="1" visible="true" zorder="5" onhover="showtext(Übersichtskarte ausblenden,smalltext2);" onclick="action(hidemenu);" />
<plugin name="openmap" url="skin/openmap.png" keep="true" parent="map" align="leftcenter" edge="leftcenter" x="529" y="0" alpha="0" visible="false" zorder="5" onhover="showtext(Übersichtskarte einblenden,smalltext2);" onclick="action(showmenu);" />
<action name="hidemenu">
tween(plugin[closemap].alpha,0,1,easeoutquad,set(plugin[closemap].visible,false));
set(plugin[openmap].visible,true);
tween(plugin[openmap].alpha,1,1,easeinquad);
tween(plugin[map].x,-529);
</action>
<action name="showmenu">
tween(plugin[openmap].alpha,0,1,easeoutquad,set(plugin[openmap].visible,false));
set(plugin[closemap].visible,true);
tween(plugin[closemap].alpha,1,1,easeinquad);
tween(plugin[map].x,0);
</action>
<textstyle name="smalltext2"
font="Arial" fontsize="16"
border="false" background="false"
textcolor="0xFFFFFF"
effect="glow(0x000000,0.7,4,2);dropshadow(2,45,0x000000,3,1);"
/>')