0 Replies Latest reply on May 15, 2012 7:53 PM by cablish

    About swfloader auto scaling !

    cablish

      i  have a  mask swf!  this swf height is 250, width is 300. But it is not in proportion(250x300) to show!

       

      code:

      <s:BorderContainer horizontalCenter="0" verticalCenter="0"  borderStyle="solid"  width="105"  height="60">

           <mx:SWFLoader source="sample.swf" scrollRect="{new Rectangle(0, 0, 105, 60)}" height="100%"      width="100%" verticalAlign="middle" horizontalAlign="center" />

      </s:BorderContainer>

       

      like As:

      001.png

      Q:

         but i want it to show like this, How to do!

      002.png

       

      SWF download:http://free-uploading.com/c24uirxkx2q7/sample_swf.zip.html