I'm using a code to display the thumbnail list within (parented) with a background and I'd like to show this menu onclick. So far I did it, the problem is when the menu is showing I"d like to hide it onclick. How can I do that? IS possible to have 2 "onclicks"?
The code is:
<plugin
name="menu"
url="images/menu.png"
keep="true"
visible="true"
enabled="true"
handcursor="true"
capture="false"
zorder="1"
alpha="0.70"
blendmode="normal"
smoothing="true"
align="top"
edge="left"
x="0" y="0"
ox="0" oy="-55"
rotate="0"
width="" height=""
scale="1"
scale9grid=""
crop=""
mask=""
onloaded=""
onclick="action(menu_show);"
onhover=""
onout=""
ondown=""
onup=""
/>
/>
<action name="menu_show">
tween(plugin[menu].y,100,distance(700,3),linear);
</action>
<action name="menu_hide">
tween(plugin[menu].y,0,distance(700,3),linear);"
</action>
<plugin name="thumbnails"
url="as3Thumbsforkrpano.swf?TheXML=gallery1.xml"
align="leftttop"
keep="true"
parent="menu"
/>