Not work actions "sign_active" and "sign_inactive"!
http://livepano.ru/temp/smp/index.html
Code
<layer name="pdf" onclick="pdf_list_on();" />
<layer name="pdf_cons_ru" style="pdf_list" visible="false" alpha="0" />
<style name="pdf_list"
url="%SWFPATH%/skin/pdf.png"
keep="true"
align="center"
edge="bottom"
y="0"
onover="sign_active();"
ondown="sign_active();"
onout="sign_inactive();"
zorder="501"
/>
<layer name="pdf_cons_ru_txtplace"
style="pdf_txtplace_style"
x="-255"
width="125"
visible="false"
alpha="0"
html="data:pdf_cons_ru_text"
/>
<data name="pdf_cons_ru_text">
<p align="left">
<font face="arial" size="13">
<a href="docs/SMP_Bank_Consolidated_2012.pdf" target="_blank">Консолидированная<br/>отчетность</a>
</font>
</p>
</data>
<style name="pdf_txtplace_style"
url="%SWFPATH%/plugins/textfield.swf"
keep="true"
align="center"
edge="lefttop"
y="3"
background="false"
autosize="center"
zorder="501"
css="data:pdf_css"
/>
<style name="pdf_txtplace_style_hover"
url="%SWFPATH%/plugins/textfield.swf"
keep="true"
align="center"
edge="lefttop"
y="3"
background="false"
autosize="center"
zorder="501"
css="data:pdf_css_hover"
/>
<data name="pdf_css">
a { color:#FFFFFF; text-decoration:underline; font-weight:normal; }
a:hover { color:#FFFFFF; text-decoration:none; font-weight:normal;}
</data>
<data name="pdf_css_hover">
a { color:#FFFFFF; text-decoration:none; font-weight:normal; }
a:hover { color:#FFFFFF; text-decoration:none; font-weight:normal;}
</data>
<action name="sign_active">
layer[pdf_cons_ru_txtplace].loadstyle(pdf_txtplace_style_hover);
</action>
<action name="sign_inactive">
layer[pdf_cons_ru_txtplace].loadstyle(pdf_txtplace_style);
</action>
Alles anzeigen