You want to create a drop shadow on the Spark label myLabel. Which syntax is correct?
A. <fx:Script> myLabel.setStyle(dropShadow, "true"); </fx:Script> <s:label id="myLabel"/>
B. <s:Label id="myLabel" dropShadowEnabled="true"/>
C. <s:Label id="myLabel" dropShadow="enabled"/>
D. <s:Label id="myLabel" filters="{[new DropShadowFilter(10, 45)]}"/>
Answer:D
You want to create a drop shadow on the Spark label myLabel. Which syntax is correct?
A. <fx:Script> myLabel.setStyle(dropShadow, "true"); </fx:Script> <s:label id="myLabel"/> B. <s:Label id="myLabel" dropShadowEnabled="true"/> C. <s:Label id="myLabel" dropShadow="enabled"/> D. <s:Label id="myLabel" filters="{[new DropShadowFilter(10, 45)]}"/>