2 Replies Latest reply on Nov 25, 2009 5:28 PM by mitpig

    how to use 「scale9Grid」property in flex4?


      i want to create a container background image that can use the scale9Grid property . i've tried many ways ,  but failed.......@@a


      =============================  Code ======================================




      <s:Group width="800" height="600" id="myborder">

           <mx:SWFLoader source="img.png" width="100%" height="100%" scaleContent="true" maintainAspectRatio="false"

           scale9Grid="{ new Rectangle(10,10,60,60) }" />






      it will occur run time error........


      how to use the property ???