Sorry but I'm not understanding the switch component and how to integrate it into what I have below. Right now I have each hide action in the onclickA which works but when you want to go back to a particular plugin you have to click it twice. At some point this may also get to big if there are more than 5 actions. If it can be done without too many changes to what i have I would like to find a better solution. Thanks in advance.
<plugin name="panorama_btn" visible="true" url="newcontrols.png" crop="0|34|109|25" keep="true"
align="bottomleft" x="0" y="0" handcursor="true" enabled="true" capture="true" alpha="0"
zorder="1000" onover="tween(alpha,1,0.1)"
onclickA="action(showabout,aboutus); action(hideimg_info,img_info); action(hidemap,maps); action(hidehelp,img_nav); set (onclick, onclickB() );"
onclickB="action(hideabout,aboutus); set (onclick, onclickA() );"
onclick="onclickA();"
onhover="showtext(Show About EyeCandy Virtual Imaging, csmall);" onout="tween(alpha,0,0.5)"
onloaded="delayedcall(1,set(visible,true));"/>
<action name="showabout">
set(plugin[%1].visible,true);
tween(plugin[%1].alpha,.85);
set(autorotate.enabled,false);
set(plugin[panorama_btn].onhover, showtext(Hide About EyeCandy Virtual Imaging, csmall));
</action>
<action name="hideabout">
tween(plugin[%1].alpha,0,0.5,default, set(plugin[%1].visible,false) );
set(autorotate.enabled,true);
set(plugin[panorama_btn].onhover, showtext(Show About EyeCandy Virtual Imaging, csmall));
</action>
<plugin name="info_btn" visible="false" url="newcontrols.png" crop="141|34|29|25" keep="true"
align="leftbottom" x="141" y="0" handcursor="true" alpha="0" zorder="1000"
onhover="showtext(Image Information,csmall)"
onclickA="action(showimg_info,img_info); action(hideabout,aboutus); action(hidemap,maps); action(hidehelp,img_nav); set (onclick, onclickB() );"
onclickB="action(hideimg_info,img_info); set (onclick, onclickA() );"
onclick="onclickA();"
onover="tween(alpha,1,0.1)" onout="tween(alpha,0,0.5)" onloaded="delayedcall(1,set(visible,true));"/>
<plugin name="map_btn" visible="false" url="newcontrols.png" crop="172|34|29|25" keep="true"
align="leftbottom" x="172" y="0" handcursor="true" alpha="0" zorder="1000"
onclickA="action(showmap,maps); action(hideabout,aboutus); action(hideimg_info,img_info); action(hidehelp,img_nav);set (onclick, onclickB() );"
onclickB="action(hidemap,maps); set (onclick, onclickA() );"
onclick="onclickA();"
onhover="showtext(Show Map,csmall)"
onover="tween(alpha,1,0.1)" onout="tween(alpha,0,0.5)" onloaded="delayedcall(1,set(visible,true));"/>
<action name="showimg_info">
set(plugin[%1].visible,true);
tween(plugin[%1].alpha,.85,);
set(autorotate.enabled,false);
set(plugin[info_btn].onhover, showtext(Hide Image Information, csmall));
</action>
<action name="hideimg_info">
tween(plugin[%1].alpha,0,0.5,default, set(plugin[%1].visible,false) );
set(autorotate.enabled,true);
set(plugin[info_btn].onhover, showtext(Show Image Information, csmall));
</action>
<action name="showmap">
set(plugin[%1].visible,true);
tween(plugin[%1].alpha,1);
set(autorotate.enabled,true);
set(plugin[map_btn].onhover, showtext(Hide map, csmall));
</action>
<action name="hidemap">
tween(plugin[%1].alpha,0,0.5,default, set(plugin[%1].visible,false) );
set(autorotate.enabled,true);
set(plugin[map_btn].onhover, showtext(Show map, csmall));
</action>
<plugin name="help_btn" visible="true" url="newcontrols.png" crop="523|34|29|25" keep="true"
align="rightbottom" x="2" y="0" handcursor="true" alpha="0" zorder="1000"
onhover="showtext(Show Navigation Help,csmall)"
onclickA="action(showhelp,img_nav); action(hideabout,aboutus); action(hideimg_info,img_info); action(hidemap,maps); set (onclick, onclickB() );"
onclickB="action(hidehelp,img_nav); set (onclick, onclickA() );"
onclick="onclickA();"
onover="tween(alpha,1,0.1)" onout="tween(alpha,0,0.5)" onloaded="delayedcall(1,set(visible,true));"/>
<action name="showhelp">
set(plugin[img_nav].visible,true);
tween(plugin[img_nav].alpha,.85);
set(plugin[help_btn].onhover, showtext(Hide Navigation Help, csmall));
set(autorotate.enabled,false);
</action>
<action name="hidehelp">
tween(plugin[img_nav].alpha,0,0.5,default, set(plugin[img_nav].visible,false) );
set(plugin[help_btn].onhover, showtext(Show Navigation Help, csmall));
set(autorotate.enabled,true);
</action>