topical media & game development
explorer-controls-TextAreaExample.mx
explorer-controls-TextAreaExample.mx
[swf]
flex
<?xml version="1.0"?>
<!-- Simple example to demonstrate the TextArea control. -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Panel title="TextArea Control Example" height="75%" width="75%"
paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">
<mx:TextArea width="400" height="100">
<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="100">
<mx:htmlText><![CDATA[This is <font color="#FF0000">HTML text</font> in a <b>TextArea control</b>. Use the <u>htmlText property</u> of the <font color="#008800">TextArea control</font> to include basic HTML markup in your text.]]></mx:htmlText>
</mx:TextArea>
</mx:Panel>
</mx:Application>
(C) Æliens
27/08/2009
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.