apache-flexflex-sparkhalo

"The style 'dropShadowVisible' is only supported by type 'mx.controls.List' with the theme(s) 'spark'" Flex theme warning


What can I do to remove this warning in Flex? I'm using the Halo theme and do not want to use the Spark theme.

The style 'dropShadowVisible' is only supported by type 'mx.controls.List' with the theme(s) 'spark'


Solution

  • Two options:

    1) Set the compiler argument 'warnings' to false. More info about compiler arguments are in the docs. Other compiler arguments that related to this are show-actionscript-warnings and warn-warning_type.

    2) Make sure all the classes you're using do not reference the dropShadowVisible style. Most likely it is used internally be Flex Framework classes that you are using in your app; so that may require some extending.