Thanks Graydon - works well - as soon as I read it I knew it would. Need to simplify mt thinking!!
for other out there -
Code
<action name="showgallery">
set(plugin[gallery].freezeview, true);
set(plugin[showgallery].enable,false);
tween(plugin[showgallery].alpha,0,distance(1,0.15),,set(plugin[showgallery].visible,false));
set(plugin[hidegallery].enable,true);
set(plugin[hidegallery].visible,true);
tween(plugin[hidegallery].alpha,1,distance(1,0.15));
set(plugin[black].visible,true);
tween(plugin[black].alpha,0.5,distance(1,0.15));
set(plugin[gallery].url,simpleviewer.swf?xmlDataPath=gallery/gallery.xml);
set(plugin[gallery].visible,true);
tween(plugin[gallery].alpha,1,distance(1,0.15));
set(plugin[gallery].dropshadow(2,45,0x000000,3,1);
</action>
Display More
Code
<action name="closegallery">
set(plugin[gallery].visible,false);
set(plugin[logo].visible,true);
tween(plugin[logo].alpha,1,distance(1,0.15));
set(plugin[hidegallery].enable,false);
tween(plugin[hidegallery].alpha,0,distance(1,0.15),,set(plugin[hidegallery].visible,false));
set(plugin[showgallery].enable,true);
set(plugin[showgallery].visible,true);
tween(plugin[showgallery].alpha,1,distance(1,0.15));
tween(plugin[black].alpha,0,distance(1,0.15),,set(plugin[black].visible,flase));
</action>
Display More
Code
<plugin name="black"
url="images/bottom.jpg"
keep="false"
visible="false" enabled="true" handcursor="false" capture="true" children="true"
zorder="-20"
alpha="0.30" blendmode="normal"
smoothing="true"
origin="centre" edge="centre"
width="100%" height="100%"
scale="1"
onloaded=""
onover=""
onhover=""
onout=""
ondown=""
onup=""
onclick=""
ox=""
oy=""
rotate="0"
/>
Display More