2013-08-23 4 views
0

누구에게이 문제가 발생합니까? FXG ScaleGrid가 BitmapImage에서 작동하지 않는 것 같습니다. 다음은 내 코드입니다 : 나는 그것을 확장 할 때FXG ScaleGrid on BitmapImage가 작동하지 않습니다.

<Graphic version="2.0" xmlns="http://ns.adobe.com/fxg/2008" scaleGridTop="6" scaleGridLeft="6" scaleGridRight="94" scaleGridBottom="54" > 


<Rect width="100" height="60" radiusX="4" radiusY="4" > 
    <fill> 
     <LinearGradient rotation="90" > 
      <GradientEntry color="#00649f" /> 
      <GradientEntry color="#005080" /> 
     </LinearGradient> 
    </fill> 
    <stroke> 
     <LinearGradientStroke rotation="90" > 
      <GradientEntry color="#0079c1" /> 
      <GradientEntry color="#004b77" /> 
     </LinearGradientStroke> 
    </stroke>    
</Rect> 

<!-- Use BitmapImage for InnerGlow, since ScaleGrid will not work on filter --> 
<BitmapImage x="0" y="0" source="@Embed('skins/mobi/assets240/InnerGlow240.png')" scaleX="1" scaleY="1" fillMode="scale" width="100" height="60" /> 


</Graphic> 

에서, 사각형 부분이 확장에는 문제가 없지만, scaleGrid 설정에 따라 확장되지 않은 BitmapImage, 내가 짓을 아무것도가있다 그것 잘못?

감사합니다.

조엘

이제

답변