# Tree Component AS3 background color?

**URL:** <https://forum.kirupa.com/t/tree-component-as3-background-color/306141>\
**Category:** Uncategorized\
**Created:** [March 10, 2010, 11:29am UTC](https://forum.kirupa.com/t/tree-component-as3-background-color/306141 "2010-03-10T11:29:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![onthefield](https://avatars.discourse-cdn.com/v4/letter/o/8dc957/32.png) [@onthefield](https://forum.kirupa.com/u/onthefield)\
**Post date:** [March 10, 2010, 11:29am UTC](https://forum.kirupa.com/t/tree-component-as3-background-color/306141/1 "2010-03-10T11:29:27Z")

</div>

Hi I am deserate 😁 to figure out how to change the background color of a Tree component

## I can change the font like below:

var myTextFormat:TextFormat = new TextFormat();  
myTextFormat.font = “Comic Sans MS”;  
mytree.setRendererStyle(“textFormat”, myTextFormat);

How can I change the background color???
