I have a piece of some simple code for control panels to slide up and down. With the recent testing of Andreys smart thumbs gallery I encountered a strange issue with Safari and Chrome on Mac, most recent Flash version (this has nothing to do with the thumbs gallery, older projects are affected as well).The contol panels won't react in those browsers. FF is just fine. Anybody with an idea why this happens?
Have a look here: http://premiumpano.de/temp/hauck/
Code
<plugin name="ui-toolbar"
url="ui-menu.png"
devices="all"
handcursor="false"
align="bottomcenter"
parent="ui-toolbar_blank"
x="10"
y = "20"
width="1%"
alpha="0"
onover="tween(alpha,1,0.2,easeInOutQuad)"
onhover="tween(alpha,1,0.2,easeInOutQuad)"
onout="tween(alpha,0.75,0.2,easeInOutQuad)"
keep="true"
zorder="0"
/>
<plugin name="ui-toolbar_blank"
url="ui-menu_blank.png"
devices="all"
children="true"
handcursor="false"
align="bottomcenter"
x="0"
y = "-150"
width="105%"
alpha="1"
zorder="0"
keep="true"
visible="true"
/>
<plugin name="ui-toolbar_blanktop"
url="thumbs-navi.png"
devices="all"
children="true"
handcursor="false"
align="top"
x="0"
y = "-100"
alpha="0.9"
zorder="0"
keep="true"
visible="true"
/>
<plugin name="menu-down"
url="navigation.png"
devices=""
zorder="1"
keep="true"
crop="420|0|30|30"
align="centerbottom"
edge="center"
y="13"
x="-5"
scale="0.65"
onout="tween(scale,0.65,0.2);"
onhover="showtext(Menü aus,Tooltip);tween(scale,0.7,0.1);"
onclick="tween(plugin[ui-toolbar_blank].y,-100,distance(100,0.5),easeOutQuad);"
onup="set(plugin[menu-up].visible,true);"
parent="ui-toolbar_blank"
/>
<plugin name="menu-up"
url="navigation.png"
devices=""
zorder="1"
keep="true"
crop="450|0|30|30"
align="centerbottom"
edge="center"
y="13"
x="-5"
scale="0.65"
visible="false"
onout="tween(scale,0.65,0.2);"
onhover="showtext(Menü ein,Tooltip);tween(scale,0.7,0.1);"
onclick="tween(plugin[ui-toolbar_blank].y,35,distance(100,0.3),easeOutQuad);"
onup="set(plugin[menu-up].visible,false);"
/>
<plugin name="thumbs-hide"
url="../ui/blank.png"
devices=""
parent="ui-toolbar_blanktop"
zorder="1"
keep="true"
align="top"
edge="top"
visible="false"
width="100"
height="20"
y="100"
x="0"
onclick=" tween(plugin[ui-toolbar_blanktop].y,-100,distance(100,0.5),easeOutQuad);
set(plugin[thumbs-hide].visible,false);
"
onup="set(plugin[thumbs-show].visible,true);"
/>
<plugin name="thumbs-show"
url="../ui/blank.png"
devices=""
parent="ui-toolbar_blanktop"
zorder="1"
keep="true"
align="top"
edge="top"
y="100"
x="0"
width="100"
height="20"
visible="true"
onclick="tween(plugin[ui-toolbar_blanktop].y,-20,distance(100,0.3),easeOutQuad);
set(plugin[thumbs-hide].visible,true);
"
onup="set(plugin[thumbs-show].visible,false);"
/>
<action name="move_toolbar">
tween(plugin[ui-toolbar].alpha,0.75,1);
tween(plugin[ui-toolbar].width,105%,0.3);
</action>
<action name="move_toolbar_blank">
tween(plugin[ui-toolbar_blank].y,35,distance(150,0.5),easeOutQuad);
</action>
Alles anzeigen
Any help welcome,
Yours, Michael