0 Replies Latest reply on Aug 6, 2007 1:12 AM by Michael Kraft

    move with Repeater:hBox and filterFunction = Strange behaviour

    Michael Kraft
      Hello,

      I fill a hBox with item from a Repeater. Now I have a Button that moves the hBox one widht to the right (to the next items).
      To prevent, that the move is going to far I do this:

      [code]
      if (theBox.x > (myDatalist.length*(-208)-(-832))){
      myMove.end();
      myMove.xBy=-832;
      myMove.play();
      }
      [/code]

      This works fine. Now I do a selection with a filterFunction and move theBox back to x=0.

      And from now the move is not working anymore. I've made some of the stuff to vars to see if there is a math problem, but it is not. I have no Idea why this does not work after the filterfunction.