4 Replies Latest reply on Oct 24, 2008 6:39 AM by Newsgroup_User

    Flex 'move' problem

    kebecsoft4
      I am currently trying to do a picture banner for a site like kijiji. The picture must pass through the banner from the right to the left so I use a "move" item, the problem is that the speed is not constant, when it start the move goes (example) 100pixels/seconds, when it approach middle the speed increase and after the middle the speed decrease, basically it seem to be like an accelaration/deceleration rules.

      Is there a way to set a constant speed to the move item?
        • 1. Re: Flex 'move' problem
          Level 7

          "kebecsoft4" <webforumsuser@macromedia.com> wrote in message
          news:gdq661$81r$1@forums.macromedia.com...
          >I am currently trying to do a picture banner for a site like kijiji. The
          > picture must pass through the banner from the right to the left so I use a
          > "move" item, the problem is that the speed is not constant, when it start
          > the
          > move goes (example) 100pixels/seconds, when it approach middle the speed
          > increase and after the middle the speed decrease, basically it seem to be
          > like
          > an accelaration/deceleration rules.
          >
          > Is there a way to set a constant speed to the move item?

          There may be a default easingFunction on it...


          • 2. Re: Flex 'move' problem
            kebecsoft4 Level 1
            And would there be a way to remove it?
            • 3. Flex 'move' problem
              kebecsoft4 Level 1
              THANKS :D

              easingFunction="{Linear.easeNone}", you need to import the easing.* library to have that, this remove the acceleration/deceleration from the movement to keep it at a fixed speed.

              Thanks again.
              • 4. Re: Flex 'move' problem
                Level 7

                "kebecsoft4" <webforumsuser@macromedia.com> wrote in message
                news:gdrnur$cvk$1@forums.macromedia.com...
                > THANKS :D
                >
                > easingFunction="{Linear.easyNone}", you need to import the easing.*
                > library to
                > have that, this remove the acceleration/deceleration from the movement to
                > keep
                > it at a fixed speed.
                >
                > Thanks again.

                You're welcome.