Hi all!
I´m creating a menu block that I want to change the opacity on when I mouse over the whole block. When I mouse out I want it to change it´s opacity back again.
It works when I mouse over the block but nothing happens when I mouse out.
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
trace(_root.once);
if (_root.once == true) {
this.gotoAndPlay("starta");
_root.once = false;
trace(_root.once);
}
else {}
} else if (this.hitTest(_root._xmouse, _root._ymouse, false)) {
this.gotoAndPlay("stopp")
trace("Stop")
}
}