Home > Flex, Swf > Toggling the drop shadow on the Spark Panel container in Flex 4

Toggling the drop shadow on the Spark Panel container in Flex 4

September 21st, 2009

The following example shows how you can toggle the drop shadow on a Spark Panel container by setting the Boolean dropShadowVisible style.
Full code after the jump.

This example requires Flex SDK 4.0.0.10007 or later.

<?xml version="1.0" encoding="utf-8"?>
<!– http://blog.flexexamples.com/2009/09/07/toggling-the-drop-shadow-on-the-spark-panel-container-in-flex-4/ –>
<s:Application name="Spark_Panel_dropShadowVisible_test"
xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
[...]

Source:Toggling the drop shadow on the Spark Panel container in Flex 4

admin Flex, Swf ,