# Making TextArea transparent?

**URL:** <https://forum.kirupa.com/t/making-textarea-transparent/209097>\
**Category:** Uncategorized\
**Created:** [December 5, 2006, 10:15pm UTC](https://forum.kirupa.com/t/making-textarea-transparent/209097 "2006-12-05T22:15:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wideyed](https://avatars.discourse-cdn.com/v4/letter/w/838e76/32.png) [@wideyed](https://forum.kirupa.com/u/wideyed)\
**Post date:** [December 5, 2006, 10:15pm UTC](https://forum.kirupa.com/t/making-textarea-transparent/209097/1 "2006-12-05T22:15:45Z")

</div>

if this is my code:  
function xmlLoad(newXml, cssUrl) {  
//formatting textfield  
myText.setStyle(“background”, true);  
myText.setStyle(“backgroundColor”, 0xBDC6DE);  
myText.html = true;  
//loading stylesheet  
var xmlCss:TextField.StyleSheet = new TextField.StyleSheet();  
xmlCss.onLoad = function(success) {  
if (success) {  
myText.styleSheet = xmlCss;  
} else {  
myText.text = “Stylesheet not loaded!”;  
}  
};

in the myText.setStyle section what codewould i nput to make it transparent?  
ive tried the “\_alpha”, “0” code, but that makes the imgeas and the scrollbar transparent as well.  
any ideas?  
Thanks
