2 Replies Latest reply on Feb 22, 2010 6:31 AM by flex2008

    Determine dimentions of dynamical elements

    Francisc Level 3

      Hello!

       

      I am trying to move a container with Move effect when an elements inside it grows or shirnks, in this case a Repeater, according to a button click, so it sticks to a line near it's bottom.

      In the button click handler I have move.yTo=someElement.y-this.height;

       

      The problem is that this.height is always the height before the Repeater changed. If I click the same button again, it will work for that button as the element keeps its height.

       

      How can I tell it to move to someElement.y-futureHeight somehow?

       

      Thank you!