<?xml version="1.0"
encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" backgroundGradientAlphas="[1.0, 1.0]"
backgroundGradientColors="[#8E4343, #8E4343]">
<mx:Panel title="TextArea Control" layout="vertical" color="0xffffff" borderAlpha="0.15"
paddingTop="10" paddingRight="10" paddingBottom="10" paddingLeft="10" horizontalAlign="center">
<mx:TextArea width="400" height="60" color="0x323232">
<mx:text>
This is a multiline, editable TextArea control. If you need
a non-editable multiline control, use the Text control.
</mx:text>
</mx:TextArea>
<mx:TextArea width="400" height="60" color="0x323232">
<mx:htmlText><![CDATA[This is <font
color="#EE1122">HTML text</font> in a <b>TextArea
control</b>. Use the <u>htmlText property</u> of the <font
color="#22A050">TextArea control</font> to include basic
HTML markup in your text.]]></mx:htmlText>
</mx:TextArea>
</mx:Panel>
</mx:Application>
No comments:
Post a Comment