Flash advice.
Flash advice.
- Started
- Last post
- 9 Responses
- lnu
How would you go about to make the "menu background" turn black on mouseover without making it a button? Thankyouplease!
http://www.group94.com/
- stewart0
onClipEvent (mouseDown) {
setProperty("_root.bg", _visible, "1");
}
- GC_Kds0
yourClip.onMouseOut = function () {
myColor = new Color(this);
myColor.setRGB(0x000000);
};
- lnu0
Yeah, but it's just mouseover, that's the thing. Thanks.
- stewart0
onClipEvent (mouseOver) {
setProperty("_root.bg", _visible, "1");
}
- GC_Kds0
ok, .onMouseUp dude
- lnu0
Thank you guys!
- lnu0
oh, sorry onClipEvent (mouseOver) is an invalid event and mouseUp occurs after you've pressed it. Anyone else?
- lnu0
- autonoma0
You can put this in an onEnterFrame:
if (hitTest( _root._xmouse, _root._ymouse, true)) {
this.myColor = new Color(this);
this.myColor.setRGB(0x000000);
}