1 Reply Latest reply on Feb 9, 2008 10:12 AM by robdillon

    Slide Open and Close Menu

    sageroo
      Hello,

      I am trying in vane to code a menu to slide open revealing a photo. I am really having trouble coding the different variables depending on if the menu buttons are "opened" or "closed" and how the various buttons relate.

      The file is located http://www.tallentsmith.com/slidingmenutest.fla.zip
      or you can see a pic of what I am talking about here: http://www.tallentsmith.com/menutest.jpg

      Any help is appreciated.

      Thank you,
      Sage
        • 1. Re: Slide Open and Close Menu
          robdillon Most Valuable Participant
          It's impossible to tell what you want to accomplish from your sample file. I'm guessing that each of those diagonal tabs will be a movieClip that will slide out to show a photo, and that you want each to slide out, and any previous tab to slide back in.

          If any of this is correct, then one solution is to put the instance names of each clip into an array. Then you can write a function that will play the selected movieClip and close any open clip. Here's an example: