<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>中文Flex例子 &#187; TextArea</title>
	<atom:link href="http://blog.minidx.com/tag/textarea/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.minidx.com</link>
	<description>中文Adobe Flex例子,Flex实例教程,RIA资源,全文检索技术,算法和数据结构</description>
	<lastBuildDate>Thu, 31 Mar 2011 03:22:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Flex中如何在TextArea中使用Tab Stops的例子</title>
		<link>http://blog.minidx.com/2009/07/04/2683.html</link>
		<comments>http://blog.minidx.com/2009/07/04/2683.html#comments</comments>
		<pubDate>Fri, 03 Jul 2009 23:20:50 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[TextArea]]></category>
		<category><![CDATA[defaultTextFormat]]></category>
		<category><![CDATA[getTextField]]></category>
		<category><![CDATA[mx internal]]></category>
		<category><![CDATA[setTextFormat()]]></category>
		<category><![CDATA[tabStops]]></category>
		<category><![CDATA[TextFormat]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/?p=2683</guid>
		<description><![CDATA[接下来的例子演示了Flex中如何通过在tabStops属性上设置TextFormat对象，defaultTextFormat属性以及setTextFormat()函数，在TextArea中使用Tab Stops。
让我们先来看一下Demo（可以点击这里察看源代码）：









下面是完整代码(或点击这里察看)：
Download: main.mxml&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;
&#60;mx:Application&#160;name=&#34;TextArea_tabStops_test&#34;
&#160; &#160; &#160; &#160; xmlns:mx=&#34;http://www.adobe.com/2006/mxml&#34;
&#160; &#160; &#160; &#160; layout=&#34;vertical&#34;
&#160; &#160; &#160; &#160; verticalAlign=&#34;middle&#34;
&#160; &#160; &#160; &#160; backgroundColor=&#34;white&#34;&#62;
&#160;
&#160; &#160; &#60;mx:Script&#62;
&#160; &#160; &#160; &#160; &#60;![CDATA[
&#160; &#160; &#160; &#160; &#160; &#160; private function init1():void {
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; var tf:TextFormat = new TextFormat();
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2009/07/04/2683.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex中如何通过focusBlendMode样式设置TextArea内容边框焦点厚度的例子</title>
		<link>http://blog.minidx.com/2009/06/21/2629.html</link>
		<comments>http://blog.minidx.com/2009/06/21/2629.html#comments</comments>
		<pubDate>Sun, 21 Jun 2009 02:32:42 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[TextArea]]></category>
		<category><![CDATA[blendMode]]></category>
		<category><![CDATA[focusBlendMode]]></category>
		<category><![CDATA[focusThickness]]></category>
		<category><![CDATA[setFocus]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/?p=2629</guid>
		<description><![CDATA[接下来的例子演示了Flex中如何通过focusBlendMode样式，设置TextArea内容边框焦点厚度。
让我们先来看一下Demo（可以点击这里察看源代码）：









下面是完整代码(或点击这里察看)：
Download: main.mxml&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;
&#60;mx:Application&#160;name=&#34;TextArea_focusBlendMode_test&#34;
&#160; &#160; &#160; &#160; xmlns:mx=&#34;http://www.adobe.com/2006/mxml&#34;
&#160; &#160; &#160; &#160; layout=&#34;vertical&#34;
&#160; &#160; &#160; &#160; verticalAlign=&#34;middle&#34;&#62;
&#160;
&#160; &#160; &#60;mx:ApplicationControlBar&#160;dock=&#34;true&#34; styleName=&#34;plain&#34;&#62;
&#160; &#160; &#160; &#160; &#60;mx:Form&#160;styleName=&#34;plain&#34;&#62;
&#160; &#160; &#160; &#160; &#160; &#160; &#60;mx:FormItem&#160;label=&#34;focusThickness:&#34;&#62;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#60;mx:HSlider&#160;id=&#34;slider&#34;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; minimum=&#34;0&#34;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2009/06/21/2629.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex中如何通过verticalScrollPosition和maxVerticalScrollPosition属性使TextArea自动滚动的例子</title>
		<link>http://blog.minidx.com/2009/05/29/2534.html</link>
		<comments>http://blog.minidx.com/2009/05/29/2534.html#comments</comments>
		<pubDate>Fri, 29 May 2009 03:40:16 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[TextArea]]></category>
		<category><![CDATA[callLater]]></category>
		<category><![CDATA[maxVerticalScrollPosition]]></category>
		<category><![CDATA[validateNow()]]></category>
		<category><![CDATA[verticalScrollPosition]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/?p=2534</guid>
		<description><![CDATA[接下来的例子演示了Flex中如何通过verticalScrollPosition和maxVerticalScrollPosition属性，TextArea增加新内容的时候自动滚动。
让我们先来看一下Demo（可以右键View Source或点击这里察看源代码）：









下面是完整代码(或点击这里察看)：
Download: main.mxml&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;
&#60;mx:Application&#160;name=&#34;TextArea_maxVerticalScrollPosition_text&#34;
&#160; &#160; &#160; &#160; xmlns:mx=&#34;http://www.adobe.com/2006/mxml&#34;
&#160; &#160; &#160; &#160; layout=&#34;vertical&#34;
&#160; &#160; &#160; &#160; verticalAlign=&#34;middle&#34;
&#160; &#160; &#160; &#160; backgroundColor=&#34;white&#34;
&#160; &#160; &#160; &#160; creationComplete=&#34;init();&#34;&#62;
&#160;
&#160; &#160; &#60;mx:Script&#62;
&#160; &#160; &#160; &#160; &#60;![CDATA[
&#160; &#160; &#160; &#160; &#160; &#160; private var timer:Timer;
&#160;
&#160; &#160; &#160; &#160; &#160; &#160; private function init():void {
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2009/05/29/2534.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>如何利用HTMLComponent组件让你的Flex应用支持完美的HTML</title>
		<link>http://blog.minidx.com/2008/12/15/1721.html</link>
		<comments>http://blog.minidx.com/2008/12/15/1721.html#comments</comments>
		<pubDate>Sun, 14 Dec 2008 16:15:51 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[Adobe其他]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[HTMLComponent]]></category>
		<category><![CDATA[htmlText]]></category>
		<category><![CDATA[Text]]></category>
		<category><![CDATA[TextArea]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/?p=1721</guid>
		<description><![CDATA[一般Flex开发者都知道，Flex中的Text和TextArea虽然有htmlText这个属性可以用来解析HTML并且显示，不过它支持的实际上只是HTML的一个子集，很多HTML的标签都没办法解析。不过HTMLComponent这款组件，帮我们解决了这个问题，下面是一篇相关的说明，有兴趣的可以看看：








http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&#038;productId=2&#038;postId=12208
你可能还对下列文章感兴趣:Flex中如何利用htmlText和condenseWhite属性在RichTextEditor中紧缩HTML的空格的例子Flex的TextArea控件中如何利用htmlText属性以及condenseWhite属性紧缩HTML空格的例子25篇非常详细的关于如何从PSD转换为HTML&#38;CSS的教程Flex Gumbo中如何通过lineBreak样式设置Spark TextArea自动换行的例子Flex中如何在TextArea中使用Tab Stops的例子]]></description>
		<wfw:commentRss>http://blog.minidx.com/2008/12/15/1721.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex中如何在用户按住TextArea滚动条(横竖方向)拖动时显示ToolTips的例子</title>
		<link>http://blog.minidx.com/2008/12/13/1716.html</link>
		<comments>http://blog.minidx.com/2008/12/13/1716.html#comments</comments>
		<pubDate>Sat, 13 Dec 2008 11:37:23 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[TextArea]]></category>
		<category><![CDATA[scrollTipFunction]]></category>
		<category><![CDATA[showScrollTips]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/?p=1716</guid>
		<description><![CDATA[和前面的Flex中如何在用户按住TextArea滚动条拖动时显示ToolTips的例子类似的，接下来的例子演示了Flex中如何在用户按住TextArea滚动条(横竖方向)拖动时显示ToolTips。
让我们先来看一下Demo（可以右键View Source或点击这里察看源代码）：









下面是完整代码(或点击这里察看)：
Download: main.mxml&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;
&#60;mx:Application&#160;xmlns:mx=&#34;http://www.adobe.com/2006/mxml&#34;
&#160; &#160; &#160; &#160; layout=&#34;vertical&#34;
&#160; &#160; &#160; &#160; verticalAlign=&#34;middle&#34;
&#160; &#160; &#160; &#160; backgroundColor=&#34;white&#34;&#62;
&#160;
&#160; &#160; &#60;mx:Script&#62;
&#160; &#160; &#160; &#160; &#60;![CDATA[
&#160; &#160; &#160; &#160; &#160; &#160; private function textArea_scrollTipFunc(direction:String, position:Number):String {
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; var str:String;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; switch (direction) {
&#160; &#160; &#160; &#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2008/12/13/1716.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced)
Database Caching 2/34 queries in 0.060 seconds using disk
Object Caching 415/829 objects using disk

Served from: blog.minidx.com @ 2012-02-09 19:12:13 -->
