3 Replies Latest reply on Apr 5, 2007 7:42 AM by dlabaj

    Problem with menu

    dlabaj
      Hi guys, I cant seem to get the actionscript to work on this menu.

      http://www.flashvault.net/tutorial.asp?ID=105

      Do i have to create different layers for everything? I cant seem to get it to work on more than one button. If someone could please help me figure it out. Thank you :)
        • 1. Re: Problem with menu
          Nick Barling Level 1
          It would help if you posted the code you have written.

          regards

          Nick Barling
          www.barkingweb.com
          • 2. Re: Problem with menu
            dlabaj Level 1
            This is the information that i got from the link that I posted. I get the action script to work for the first button. What i want to happen is when you roll over the buttons they shift to the right a little. Its a pretty basic action but I am a newbie. If you check the tutorial link out maybe you will get a better idea of what I mean. If someone could please help me I would really appreciate it. Thank you guys ;). If you need more info please reply and I will try to supply it :)


            Take the Selection Tool (V), and click once on the Invisible Button to select it. Aftetr that, open the Action Script Panel (F9), and paste this script:

            on (rollOver) {
            _root.mouse_over_home_mc = true;
            }

            on (rollOut) {
            _root.mouse_over_home_mc = fstartlse;
            }

            on (release){
            getURL(" http://www.flashvault.net/", "blank");

            }

            Step 26

            Insert a new layer and name it AS (Action Script).



            Step 27

            Click on the first frame of layer AS, and in A.S. Panel paste this scritp:

            _root.home_mc.onEnterFrame = function() {
            if (mouse_over_home_mc) {
            _root.home_mc.nextFrame();
            } else {
            _root.home_mc.prevFrame();
            }
            };
            • 3. Re: Problem with menu
              dlabaj Level 1
              Oh Thank you for replying nick :) I just wanted to say that I did change the instance name in the properties panel to the appropriate symbol name and they have different names.