thorseye
September 22nd, 2002, 10:18 AM
Hello
I'm trying to make some kind of menu to my homepage. It's got two horizontal lines and when you move the mouse over the lines they separate from each other, and in the space between the lines is the menu objects.
So what I wan't to do is to move the lines FROM eachother when mouse is over and stay there until you move the mouse out of the area. At that point the lines should go back together again.
I'm using this script to get the lines to separate:
onClipEvent (mouseMove) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
this.play();
}
}
But this will only make the movie play when the mouse is over the lines. How should I do this?
I'm trying to make some kind of menu to my homepage. It's got two horizontal lines and when you move the mouse over the lines they separate from each other, and in the space between the lines is the menu objects.
So what I wan't to do is to move the lines FROM eachother when mouse is over and stay there until you move the mouse out of the area. At that point the lines should go back together again.
I'm using this script to get the lines to separate:
onClipEvent (mouseMove) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
this.play();
}
}
But this will only make the movie play when the mouse is over the lines. How should I do this?