Hi,
i have my text as variables and that works fine but now i want the link to have a color and also an onhover color.
what i want is that the text CLICK HERE acts as an link a href style and that when clicked does an action.. and when hovered get another color..
How to do that in this special case??
some code:
Code
<textstyle name="VERDANA"
origin="left" edge="top" xoffset="0" yoffset="0" textalign="center" background="true" border="false"
fontsize="12" textcolor="0x000000" effect=""
/>
<action name="style_var">
set(taal_color,"#000000");
set(taal_weight,"");
set(taal_family,"Verdana,Arial,Helvetica");
set(taal_size,"10");
set(taal_color2,"#FFFFFF");
set(taal_size2,"22");
set(taal_family2,"Verdana,Arial,Helvetica");
set(taal_weight2,"bold");
set(taal_color3,"#FF0000");
set(taal_size3,"12");
set(taal_family3,"Myriad Pro,Arial,Helvetica");
set(taal_size4,"24");
</action>
<action name="text_var">
set(tf_taal_opties, I LOVE KRPANO <br />
<br /><br />
<a href="hotspots();"> CLICK HERE</a> ) ; <!-- ?????????? -->
</action>
<action name="taal_opties">
txtadd(data[code=css].content,"body { color:",get(taal_color),"; font-size:",get(taal_size3),"; link:",get(taal_a),";}");
txtadd(data[html_opties].content,"<p>",get(tf_taal_opties),"</p>");
set(plugin[text_opties].css,data:css);
set(update,view);
</action>
<data name="html_opties">
</data>
<plugin name="text_opties"
url="textfieldVerdana.swf"
keep="true"
visible="false" enabled="true" handcursor="true" capture="false" children="false"
zorder="80"
alpha="1" blendmode="normal"
smoothing="true"
origin="lefttop" edge="lefttop"
x="50" y="80"
width="400" height="400"
scale="1"
onloaded="taal_opties();text_var();style_var();"
onclick=""
autosize="none"
blur="0"
bordercolor=""
borderwidth="0"
background="false"
css=""
glow="0"
glowcolor=""
html="data:html_opties"
roundedge="0"
selectable="false"
shadow=""
textblur=""
textglow=""
textglowcolor=""
textshadow=""
parent="STAGE"
/>
Display More
I would be very pleased when i can solve this..
Cheers
Tuur