2012-02-17 121 views
0

我使用Flex 4.5,我試圖改變使用RichTextEditor的回地面的顏色,但我不能夠在Flex 4.5中這樣做,但它在柔性做工精細3.改變使用RichTextEditor背景顏色

請幫助Me,

謝謝,

+0

你現在怎麼設置顏色? – 2012-02-17 14:38:03

+0

RichTextEditor是一個mx組件。它沒有明確的Spark(Flex 4.x)副本,所以應該沒有區別。你是否以完全相同的方式設置背景顏色? – RIAstar 2012-02-17 14:59:14

回答

1

您可以使用contentBackgroundColor屬性而不是backgroundColor。

<mx:RichTextEditor id="myRTE" text="Congratulations" contentBackgroundColor="red"/>