Pour le menu coulissant, ce n'est pas bien compliqué, c'est que des actions
tween sur la position de telle sorte de faire sortir les boutons/plugins de l'écran (valeurs de position négatives) :
Code : Tout sélectionner
<plugin name="closenav" url="boutons.png" crop="120|0|10|45" keep="true" zorder="2" align="leftbottom" x="90" y="5" blendmode="screen" onover="set(blendmode,layer);" onout="set(blendmode,screen);"
onhover="showtext(Tout masquer);" onclick="action(closenav);"/>
<action name="closenav">
action(hide_infopano);
tween(plugin[openfs].x,-100);
tween(plugin[closefs].x,-100);
tween(plugin[in].x,-100);
tween(plugin[out].x,-100);
tween(plugin[replay].x,-100);
tween(plugin[closenav].x,-100);
tween(plugin[sound_on].x,-100);
tween(plugin[sound_off].x,-100);
tween(plugin[autorotate_off].x,-100);
tween(plugin[autorotate_on].x,-100);
tween(plugin[logo].x,-300);
tween(plugin[opennav].x,5);
</action>
<plugin name="opennav" url="boutons.png" crop="130|0|10|45" keep="true" zorder="2" align="leftbottom" x="-20" y="5" blendmode="screen" onover="set(blendmode,layer);" onout="set(blendmode,screen);"
onhover="showtext(Afficher commandes);" onclick="action(opennav);"/>
<action name="opennav">
action(show_infopano);
tween(plugin[openfs].x,5);
tween(plugin[closefs].x,5);
tween(plugin[in].x,55);
tween(plugin[out].x,55);
tween(plugin[replay].x,5);
tween(plugin[closenav].x,90);
tween(plugin[sound_on].x,30);
tween(plugin[sound_off].x,30);
tween(plugin[autorotate_off].x,5);
tween(plugin[autorotate_on].x,5);
tween(plugin[logo].x,5);
tween(plugin[opennav].x,-20);
</action>