我是新手,Flex
所以有些事情我不习惯。我在MXML 组件RectangularDropShadow
的Declarations
标签中添加了 。Rect
它没有显示任何东西,我确信我应该做更多的事情来将它应用到Rect
.
<?xml version="1.0" encoding="utf-8"?>
<s:Rect xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
height="314" width="478">
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
<s:RectangularDropShadow id="cardAreaShadow"
alpha="0.4"
distance="10"
angle="45"
color="#000000" />
</fx:Declarations>
<s:fill>
<s:SolidColor color="#FFFFFF" />
</s:fill>
</s:Rect>