1 Reply Latest reply on Feb 25, 2011 8:36 PM by Wrataxas

    How to update Scroller after Zoom

    Maximist Level 1

      Hallo. I have this code:

       

      <s:BorderContainer width="235" height="196" depth="-1" backgroundColor="#000000" borderWeight="1" borderColor="#CCCCCC"">

       

        

             <s:Scroller width="100%" height="100%" top="5" bottom="5">

       

       

                <s:Group id="myGroup" width="100%" height="100%" left="3" top="3" bottom="25" right="10"/>

       

       

           </s:Scroller>

       

       

      </s:BorderContainer>

       

      Then, i have this declaration:

       

      <s:Scale3D id="atScale" target="{this.myGroup}" scaleXBy="1" scaleYBy="1" repeatCount="1" duration="3000"/>

       

       

      In this way i create a zoom effect which works great but there is one problem. The myGroup is going out of scroller and not inside of it... why??.. I thought the scroller would contain all zoomed group and it's scrollbars update their size too but it doesn't happen... why??.. What should i do to make them work good togeter??..

       

      Thx a lot

       

      Max