Sorry, it will depend on which version of the Flex SDK you are using. I was testing on a very recent nightly/internal version (4.0.0.10640).
http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4 Peter From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Slackware Sent: Tuesday, September 29, 2009 12:02 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Inconsistencies between Halo/Spark mixed controls? Thanks for all your responses! contentBackgroundAlpha seems like doesn't work for mx:TextArea. --- In flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com>, Peter DeHaan <pdeh...@...> wrote: > > Try setting the contentBackgroundColor and contentBackgroundAlpha styles > instead in Flex 4: > > <mx:TextArea id="txtArea" > text="The quick brown fox jumps over the lazy dog" > contentBackgroundAlpha="0.1" > contentBackgroundColor="blue" > horizontalCenter="0" verticalCenter="0" /> > > > Peter > > > From: flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com> > [mailto:flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com>] On > Behalf Of Slackware > Sent: Tuesday, September 29, 2009 8:25 AM > To: flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com> > Subject: [flexcoders] Inconsistencies between Halo/Spark mixed controls? > > > > For example, using a mx:TextArea in a project using FLEX4. background in > TextArea should be transparent (backgroundAlpha="0"), but is not > working. > Code: > <?xml version="1.0" encoding="utf-8"?> > <s:Application backgroundColor="#11FFCC" > xmlns:fx="http://ns.adobe.com/mxml/2009" > xmlns:s="library://ns.adobe.com/flex/spark" > xmlns:mx="library://ns.adobe.com/flex/halo" minWidth="1024" > minHeight="768"> > <mx:TextArea width="300" height="500" htmlText="sfda dasd asdas > ada sdas d asd" backgroundAlpha="0" /> > </s:Application> > > 2)Same example using FLEX3.04. Works as expected. > Code: > <?xml version="1.0" encoding="utf-8"?> > <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" > layout="absolute" minWidth="1024" minHeight="768"> > <mx:TextArea htmlText="<b>text</b>" x="186" y="207" > backgroundAlpha="0" height="181" width="459"/> > > </mx:Application> > > Any idea? >