A Flash Developer Resource Site

Results 1 to 1 of 1

Thread: Drop Down menu - use of || in AS code?

  1. #1
    Member
    Join Date
    Mar 2003
    Posts
    53

    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
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center