This might be a wrong forum. Have you tried this (guessing)
depthColors="{[0xFFCC00,0x0000FF,0xEFEFE4]}"

Regards,
Anatole Tartakovsky
www.faratasystems.com


On 12/9/06, Battershall, Jeff <[EMAIL PROTECTED]> wrote:

  Hello All,

Setting the depthColors array in Flex Builder 2.01 GMC2 makes the
background of the tree component turn black, and NOTHING I've been able
to figure out changes the behavior.

I'm able to produce this behavior consistently. Here's a code sample:

<mx:XMLList id="treeData">
<node label="Mail Box">
<node label="Inbox">
<node label="Marketing"/>
<node label="Product Management"/>
<node label="Personal"/>
</node>
<node label="Outbox">
<node label="Professional"/>
<node label="Personal"/>
</node>
<node label="Spam"/>
<node label="Sent"/>
</node>
</mx:XMLList>

<mx:Tree
width="300"
height="300"
dataProvider="{treeData}"
depthColors="[0xFFCC00,0x0000FF,0xEFEFE4]"
showRoot="false"
labelField="@label"/>

Any insight appreciated.

Jeff Battershall
Application Architect
Dow Jones Indexes
[EMAIL PROTECTED] <jeff.battershall%40dowjones.com>
(609) 520-5637 (p)
(484) 477-9900 (c)


Reply via email to