If you are using the default theme, the Spark skins for mx components do not 
respond to many styles if any.

Alex Harui
Flex SDK Developer
Adobe Systems Inc.<http://www.adobe.com/>
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Slackware
Sent: Tuesday, September 29, 2009 8:25 AM
To: flexcoders@yahoogroups.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="&lt;b&gt;text&lt;/b&gt;" x="186" y="207"
backgroundAlpha="0" height="181" width="459"/>

</mx:Application>

Any idea?

Reply via email to