4 Replies Latest reply on Oct 20, 2011 1:52 PM by Joners

    Require Assistance Please Help

    Joners

      Hi everyone, Im new here and Im also a newbie to flash. I bought a template but can figure out how to change a few flash settings and its driving me crazy. My website is done except for these few minor changes. Id really appreciate it if someone helped me out here. To see what Im talking about go to the website main page here www.domesticcontractprofessionals.ca.

       

      1) There are two flash files, a menu and a header, in the menu when the page paods the buttons are white and turn orange when you scroll over them. Id simply like them orange when the page loads and then to turn white when you scroll over them. I can figure out how to get the scroll over to white but not the first part to getting the load orange.

       

      2) In the header file there are several pics. Beside the pics there are scroll over buttons. Id like the first button, that says domestic contract, open when the page loads. ANy idea how I can get this done.

       

      Thanks so much for whoever helps me out here. You have no idea how grateful I am.

       

      Files can be found here...

       

      http://uploading.com/files/cab78emc/header_v8.fla/

      http://uploading.com/files/3m5863fb/menu_v8.fla/

        • 1. Re: Require Assistance Please Help
          joshdura Adobe Employee

          1) You need to drill down into the movie clips ("part.9" is the name of the Home button) and change the color of the animations. The background of the entire movie is white, so this is why it looks like it is going from white to orange, so you will just need to change the background of that clip to the orange color and then the fill of the animated block to white.

           

          2) Within the Domestic Contract movie clip, it looks like the following code is what does the rollover...

           

          on (rollOver) {

                    _parent._parent.gotoAndPlay("s1");

                    scaleMenu(_parent._parent.part, 303);

                    scaleMenu(_parent._parent.mask, 303);

                    tweenMenu(_parent._parent._parent.butt5, 279);

                    tweenMenu(_parent._parent._parent.butt4, 279-31);

                    tweenMenu(_parent._parent._parent.butt3, 279-(31*2));

                    tweenMenu(_parent._parent._parent.butt2, 279-(31*3));

                    tweenMenu(_parent._parent._parent.butt1, 0);

                    for (i=0; i<6; i++) {

                              if (i<>_parent._parent.num) {

                                        scaleMenu(_parent._parent._parent["butt"+i].part, 49);

                                        //tweenMenu(_parent._parent._parent["butt"+i].part, 30);

                              }

                    }

          }

          on (rollOut, releaseOutside) {

                    _parent._parent.gotoAndPlay("s2");

                    tweenMenu(_parent._parent._parent.butt1, 0);

                    tweenMenu(_parent._parent._parent.butt2, 62);

                    tweenMenu(_parent._parent._parent.butt3, 62*2);

                    tweenMenu(_parent._parent._parent.butt4, 62*3);

                    tweenMenu(_parent._parent._parent.butt5, 62*4);

                    for (i=0; i<6; i++) {

                              //if (i<>_parent._parent.num) {

                              scaleMenu(_parent._parent._parent["butt"+i].part, 100);

                              scaleMenu(_parent._parent._parent["butt"+i].mask, 100);

                    }

          }

           

          You will basically need to duplicate this on load of the movie clip in order to open it when the movie loads.

          • 2. Re: Require Assistance Please Help
            Joners Level 1

            thanks so much for the input. ill try it out. in relation to the first point i understand what you stated, but if i only want the white buttons orange when the page loads and not the whoile background how can I achieve this?

             

            in relation to the second point, when i duplicate the code where do i paste it so that the movie loads with the domestic contract button open?

            • 3. Re: Require Assistance Please Help
              josh.dura Adobe Employee

              If you only want the button area to be orange to start, you will need to add a rectangle behind it that is colored orange that transitions into white. It looks like there is no area like that currently, since it just transitions from white (the default bg color) to the orange (the color of the minimized button).

              • 4. Re: Require Assistance Please Help
                Joners Level 1

                I appreciate your help. Could you possibly provide me with some baby steps as to how I can get this done, especially where I duplicate the followig conent to:

                   

                  _parent._parent.gotoAndPlay("s1");

                          scaleMenu(_parent._parent.part, 303);

                          scaleMenu(_parent._parent.mask, 303);

                          tweenMenu(_parent._parent._parent.butt5, 279);

                          tweenMenu(_parent._parent._parent.butt4, 279-31);

                          tweenMenu(_parent._parent._parent.butt3, 279-(31*2));

                          tweenMenu(_parent._parent._parent.butt2, 279-(31*3));

                          tweenMenu(_parent._parent._parent.butt1, 0);

                          for (i=0; i<6; i++) {

                                    if (i<>_parent._parent.num) {

                                              scaleMenu(_parent._parent._parent["butt"+i].part, 49);

                                              //tweenMenu(_parent._parent._parent["butt"+i].part, 30);

                                    }

                          }

                }

                on (rollOut, releaseOutside) {

                          _parent._parent.gotoAndPlay("s2");

                          tweenMenu(_parent._parent._parent.butt1, 0);

                          tweenMenu(_parent._parent._parent.butt2, 62);

                          tweenMenu(_parent._parent._parent.butt3, 62*2);

                          tweenMenu(_parent._parent._parent.butt4, 62*3);

                          tweenMenu(_parent._parent._parent.butt5, 62*4);

                          for (i=0; i<6; i++) {

                                    //if (i<>_parent._parent.num) {

                                    scaleMenu(_parent._parent._parent["butt"+i].part, 100);

                                    scaleMenu(_parent._parent._parent["butt"+i].mask, 100);

                          }

                }