bleutuna
February 20th, 2003, 08:53 PM
I'm having some trouble with a drop-down menu I made. I found a cool script on this board that worked perfectly for me, but the problem is that the implementation needs to be in midst of HTML - so that it works seamlessly.
What I'm doing is using this to replace a clunky DHTML style menu, and it works great, except for one thing...
When I use this in a TRANSPARENT WINDOWLESS environment, the menu won't collapse back :(
It works fine if I use Opaque or Windowed, but Transparent just kills me. Unfortunately, this needs to be transparent, because it's going to be implemented like this:
http://www.bleutuna.com/images/xgia/wstest
I found the script for this menu here on the Kirupa Forum, and it works well, except for this one particular quirk. I've uploaded the file, and it's attached. As well, I've copied the script for it below:
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this.play();
if (this._currentframe == 10) {
stop();
}
} else if (this._currentframe>=10) {
play();
}
}
Any help would be much appreciated :)
What I'm doing is using this to replace a clunky DHTML style menu, and it works great, except for one thing...
When I use this in a TRANSPARENT WINDOWLESS environment, the menu won't collapse back :(
It works fine if I use Opaque or Windowed, but Transparent just kills me. Unfortunately, this needs to be transparent, because it's going to be implemented like this:
http://www.bleutuna.com/images/xgia/wstest
I found the script for this menu here on the Kirupa Forum, and it works well, except for this one particular quirk. I've uploaded the file, and it's attached. As well, I've copied the script for it below:
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this.play();
if (this._currentframe == 10) {
stop();
}
} else if (this._currentframe>=10) {
play();
}
}
Any help would be much appreciated :)