5 Replies Latest reply on Jun 17, 2009 9:55 AM by Hydrowizard

    Not scrolling all the way down

    Hydrowizard Level 1

      I am trying to change this but it isn't working-what is the code I need to change. Thank you.  www.copywritecolombia.com/flashsidemainold.fla  (CS3)

        • 1. Re: Not scrolling all the way down
          kglad Adobe Community Professional & MVP

          it's less likely you'll get help if downloading a file is required vs. answering a question when you supply the needed information.  in your situation, the probable needed information would be that used to assign text to your textfield and the scrolling code.

          • 2. Re: Not scrolling all the way down
            Hydrowizard Level 1

            Ok thanks for that question- it really needs to be downloaded thogh to see what I mean. It's only 170k I think. Cheers

            • 3. Re: Not scrolling all the way down
              Hydrowizard Level 1

              This code may help? Thanks

               

              onClipEvent (load) {
                  movespeed = 5;
              }
              onClipEvent (enterFrame) {
                  if (Key.isDown(Key.RIGHT)) {
                      this._y -= movespeed;
                      if (this._y<=-421.4) {
                          setProperty("_root.scroll", _y, -621.4);
                      }
                  } else if (Key.isDown(Key.LEFT)) {
                      this._y += movespeed;
                      if (this._y>=57) {
                          setProperty("_root.scroll", _y, 57);
                      }
                  }
              }

              • 4. Re: Not scrolling all the way down
                kglad Adobe Community Professional & MVP

                try:

                 


                 

                onClipEvent (load) {
                    movespeed = 5;
                }
                onClipEvent (enterFrame) {
                    if (Key.isDown(Key.RIGHT)) {
                        this._y -= movespeed;
                        if (this._y<=-421.4) {
                           setProperty("_root.scroll", _y, -421.4);
                        }
                    } else if (Key.isDown(Key.LEFT)) {
                        this._y += movespeed;
                        if (this._y>=57) {
                            setProperty("_root.scroll", _y, 57);
                        }
                    }
                }

                • 5. Re: Not scrolling all the way down
                  Hydrowizard Level 1

                  Thanks for the answer but it doesn't make any difference unfortunately,