quote:
Originally posted by: danger42
No, drop shadows are implemented as filters, not styles. They cannot be set via CSS in Flex 3.
matt horn
flex docs
quote:
Originally posted by: ashtangakasha
quote:
Originally posted by: danger42
No, drop shadows are implemented as filters, not styles. They cannot be set via CSS in Flex 3.
matt horn
flex docs
Although Matt's reply is true with respect to label components, which is what the original question addressed, it's worth pointing out that MXML Styles can set dropshadows on components which happen to expose the dropShadowEnabled property. Perhaps this is new to Flex 3.2.
For example, CSS can apply dropshadows to TextArea, Canvas, DataGrid, AdvancedDataGrid, and other list-based containers, but not to Buttons, Labels, ComboBoxes, Images, etc. The rationale for exposing or not exposing the dropShadowEnabled (and dropShadowColor) property is not clear, so you have to refer to the docs.
I would recommend updating this Answer with a bit more detail.
Thanks,
Allen
quote:
Originally posted by: ashtangakasha
Phrankie,
Yes, I noticed that too. ... If I don't want a border, I have to leave it set to flat and then set the thickness to zero.
quote:
Originally posted by: ashtangakasha
>quote:
Originally posted by: danger42
> No, drop shadows are implemented as filters, not styles. They cannot be
> set
> via CSS in Flex 3.
>
> matt horn
> flex docs
>
> Although Matt's reply is true with respect to label components, which is
> what
> the original question addressed, it's worth pointing out that MXML Styles
> can set dropshadows on components which happen to expose the
> dropShadowEnabled property. Perhaps this is new to Flex 3.2.
>
> For example, CSS can apply dropshadows to TextArea, Canvas, DataGrid,
> AdvancedDataGrid, and other list-based containers, but not to Buttons,
> Labels,
> ComboBoxes, Images, etc. The rationale for exposing or not exposing the
> dropShadowEnabled (and dropShadowColor) property is not clear, so you have
> to
> refer to the docs.
I think it depends on whether the component has a HaloBorder or not.
North America
Europe, Middle East and Africa
Asia Pacific