Hi,
My menuMC fades in to 100% when rollover the transparent button and fades outs upon rollout the transparent button.
However, the buttons in my menuMC is not working. Logically speaking, with the transparent button on top of my menu bar, it sorta blocked out my menu buttons. Any suggestions/other way around it ?
this script goes to my transparent button
on(rollOver)
{
_root.menuMC.fade = "in";
}
on(rollOut)
{
_root.menuMC.fade = "out";
}
this script goes to my menuMc with buttons inside
onClipEvent(load)
{
this._alpha = 0;
fade = 0;
}
onClipEvent(enterFrame)
{
if(fade == "out")
{
if(this._alpha > 0)
{
this._alpha -= 5;
}
else
{
fade = 0;
}
}
else if(fade == "in")
{
if(this._alpha < 100)
{
this._alpha += 5;
}
else
{
fade = 0;
}
}
}
Appreciate your help. Thanks