1 Attachment(s)
Drop Down menu - use of || in AS code?
I'm still wrestling with this tutorial on a drop down menu.
I've already posted a question on this item (see: http://board.flashkit.com/board/showthread.php?t=636147)
But so far still no explanation or help that settled this matter...
I've enclosed the fla from the tutorial so anyone with good ideas can work on the source files.
What do I want? Well, a drop "down" menu in the real sense of the word: the different items should fall downwards and not -like in the enclose fla- move upwards.
My guess is that the code listed below:
stop ();
if (_root.MCbuttons.MCbutton1._xmouse<-50 || _root.MCbuttons.MCbutton1._xmouse>50 || _root.MCbuttons.MCbutton1._ymouse<-66 || _root.MCbuttons.MCbutton1._ymouse>14) {
_root.MCbuttons.MCbutton1.play(12);
} else {
play ();
}
needs to be changed BUT HOW HOW HOW HOW HOW???
Thanks for any help!
Dubya