Hi,
I'm trying to add a function to change the color of a button in a menu (hover/ in the corresponding panorama)
Code
<layer name="welcometext" keep="true" url="%SWFPATH%/graphics/textfield.swf" align="center" x="-350" y="0" html="Client[br]welcome[br]area" visible="true" autoheight="true" background="false" border="false" css="text-align:center; color:0x6786c1; font-family:Arial; font-weight:bold; font-size:20px;" " onclick="hit(); loadscene(pano1,null,MERGE,BLEND(0.5));"/>
I have 6 button like this one.
I want to change color when the mouse is over:
onover="color:0xffffff; did'nt work
I want to change color when we are in a specific scene (the corresponding button)
if scene[name].name == "pano1" , tween(layer[welcometext].color:0xffffff);
Perhaps it's not the good way to do it
Any idea ?
Thanks
Jeronicoz