<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Auto Resizable Text Area Component</title>
	<atom:link href="http://www.flexer.info/2009/02/06/auto-resizable-text-area-component/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.flexer.info/2009/02/06/auto-resizable-text-area-component/</link>
	<description>flex developers web corner</description>
	<lastBuildDate>Wed, 18 Jan 2012 13:28:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jom Kipur</title>
		<link>http://www.flexer.info/2009/02/06/auto-resizable-text-area-component/comment-page-1/#comment-2056</link>
		<dc:creator>Jom Kipur</dc:creator>
		<pubDate>Thu, 29 Sep 2011 07:45:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexer.info/?p=510#comment-2056</guid>
		<description>This is very usefull component. Thou I had problem on higher resolutions - text didn&#039;t always fit into textArea and the vertical scroll bar appeared. I think that it might be a &#039;few pixels problem&#039; so I added some pixels to height of the component like this: 
totalHeight += textLineHeight + 5;
Hope this helps some people in the future.</description>
		<content:encoded><![CDATA[<p>This is very usefull component. Thou I had problem on higher resolutions &#8211; text didn&#8217;t always fit into textArea and the vertical scroll bar appeared. I think that it might be a &#8216;few pixels problem&#8217; so I added some pixels to height of the component like this:<br />
totalHeight += textLineHeight + 5;<br />
Hope this helps some people in the future.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nirav</title>
		<link>http://www.flexer.info/2009/02/06/auto-resizable-text-area-component/comment-page-1/#comment-2054</link>
		<dc:creator>nirav</dc:creator>
		<pubDate>Mon, 29 Aug 2011 13:11:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexer.info/?p=510#comment-2054</guid>
		<description>Hi..
i have a image handeler inside html text,
how can i find height/width of image which is loaded from image handeler?</description>
		<content:encoded><![CDATA[<p>Hi..<br />
i have a image handeler inside html text,<br />
how can i find height/width of image which is loaded from image handeler?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BruceND75</title>
		<link>http://www.flexer.info/2009/02/06/auto-resizable-text-area-component/comment-page-1/#comment-2051</link>
		<dc:creator>BruceND75</dc:creator>
		<pubDate>Tue, 02 Aug 2011 05:50:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexer.info/?p=510#comment-2051</guid>
		<description>OK, ran into a problem. I&#039;m getting a vertical scrollbar that shows up that is not functional (will not scroll). It also shows up at odd times -- 1)I have the resizeable TextArea in a VBox with plenty of vertical room, 2) I go to the page where the TextArea first appears, and there are no scrollbars (good), 3) I leave that page and go to the next page, where there is the same TextArea, smaller height, TextArea resizes fine (good), 4) then, I immediately go back to the first page, and suddenly, there is a scrollbar, and it is &quot;frozen&quot;/disabled.

Here is an image that shows the two states &lt;a href=&quot;http://tinyurl.com/445bl2m&quot; title=&quot;Image&quot; rel=&quot;nofollow&quot;&gt;Image&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>OK, ran into a problem. I&#8217;m getting a vertical scrollbar that shows up that is not functional (will not scroll). It also shows up at odd times &#8212; 1)I have the resizeable TextArea in a VBox with plenty of vertical room, 2) I go to the page where the TextArea first appears, and there are no scrollbars (good), 3) I leave that page and go to the next page, where there is the same TextArea, smaller height, TextArea resizes fine (good), 4) then, I immediately go back to the first page, and suddenly, there is a scrollbar, and it is &#8220;frozen&#8221;/disabled.</p>
<p>Here is an image that shows the two states <a target="_blank" href="http://tinyurl.com/445bl2m" title="Image" rel="nofollow">Image</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BruceND75</title>
		<link>http://www.flexer.info/2009/02/06/auto-resizable-text-area-component/comment-page-1/#comment-2050</link>
		<dc:creator>BruceND75</dc:creator>
		<pubDate>Mon, 01 Aug 2011 13:25:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexer.info/?p=510#comment-2050</guid>
		<description>A follow-up -- I can see how to grab and use a value using getters and setters. I am wondering if I need to go to all that trouble, though. If the TextArea is inside a VBox with a set height, AND the auto-resize determines a height that is greater than the VBox&#039;s height, will the component limit it&#039;s height, or will it expand beyond the VBox?

Knowing this may save me some coding.</description>
		<content:encoded><![CDATA[<p>A follow-up &#8212; I can see how to grab and use a value using getters and setters. I am wondering if I need to go to all that trouble, though. If the TextArea is inside a VBox with a set height, AND the auto-resize determines a height that is greater than the VBox&#8217;s height, will the component limit it&#8217;s height, or will it expand beyond the VBox?</p>
<p>Knowing this may save me some coding.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BruceND75</title>
		<link>http://www.flexer.info/2009/02/06/auto-resizable-text-area-component/comment-page-1/#comment-2049</link>
		<dc:creator>BruceND75</dc:creator>
		<pubDate>Mon, 01 Aug 2011 09:30:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexer.info/?p=510#comment-2049</guid>
		<description>I am very excited about trying this out, but I have a question. Is there a way of providing a maximum height to the component?  I plan to have my script determine the max height available for the TextArea, and if the totalHeight is greater than the max height available, I want the TextArea component to use the max height available, and turn on the scrollbars.

Is this possible? TIA</description>
		<content:encoded><![CDATA[<p>I am very excited about trying this out, but I have a question. Is there a way of providing a maximum height to the component?  I plan to have my script determine the max height available for the TextArea, and if the totalHeight is greater than the max height available, I want the TextArea component to use the max height available, and turn on the scrollbars.</p>
<p>Is this possible? TIA</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eshetu</title>
		<link>http://www.flexer.info/2009/02/06/auto-resizable-text-area-component/comment-page-1/#comment-2047</link>
		<dc:creator>Eshetu</dc:creator>
		<pubDate>Thu, 07 Jul 2011 15:19:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexer.info/?p=510#comment-2047</guid>
		<description>Man, this was very helpful! Thanks much!!</description>
		<content:encoded><![CDATA[<p>Man, this was very helpful! Thanks much!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: eBuildy</title>
		<link>http://www.flexer.info/2009/02/06/auto-resizable-text-area-component/comment-page-1/#comment-1994</link>
		<dc:creator>eBuildy</dc:creator>
		<pubDate>Thu, 25 Nov 2010 15:57:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexer.info/?p=510#comment-1994</guid>
		<description>Note in Flex 4, for the Spark TextArea, its very very easy:
&lt;pre lang=&quot;actionscript&quot;&gt;
kk.height = Math.min(400,Math.max(50, kk.textDisplay.contentHeight + 10));
&lt;/pre&gt;
Where kk is a TextArea</description>
		<content:encoded><![CDATA[<p>Note in Flex 4, for the Spark TextArea, its very very easy:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;">kk.<span style="color: #0066CC;">height</span> = <span style="color: #0066CC;">Math</span>.<span style="color: #0066CC;">min</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">400</span>,<span style="color: #0066CC;">Math</span>.<span style="color: #0066CC;">max</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">50</span>, kk.<span style="color: #006600;">textDisplay</span>.<span style="color: #006600;">contentHeight</span> + <span style="color: #cc66cc;">10</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;</pre></div></div>

<p>Where kk is a TextArea</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marcus</title>
		<link>http://www.flexer.info/2009/02/06/auto-resizable-text-area-component/comment-page-1/#comment-1940</link>
		<dc:creator>Marcus</dc:creator>
		<pubDate>Thu, 29 Jul 2010 09:58:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexer.info/?p=510#comment-1940</guid>
		<description>Very useful!

You can add a Change EventListener to the Component:
&lt;pre lang=&quot;actionscript&quot;&gt;
private function onChange():void
{
    if (_autoResizable)
        resizeTextArea();
}
&lt;/pre&gt;
So the TextArea will be resized when you type text into the component!</description>
		<content:encoded><![CDATA[<p>Very useful!</p>
<p>You can add a Change EventListener to the Component:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> onChange<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span>
<span style="color: #66cc66;">&#123;</span>
    <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>_autoResizable<span style="color: #66cc66;">&#41;</span>
        resizeTextArea<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<p>So the TextArea will be resized when you type text into the component!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hicham Taoufikallah</title>
		<link>http://www.flexer.info/2009/02/06/auto-resizable-text-area-component/comment-page-1/#comment-1921</link>
		<dc:creator>Hicham Taoufikallah</dc:creator>
		<pubDate>Thu, 17 Jun 2010 17:08:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexer.info/?p=510#comment-1921</guid>
		<description>Awesome – thanks! and also thanks to Rui Esteves for his improvement which worked for me :)</description>
		<content:encoded><![CDATA[<p>Awesome – thanks! and also thanks to Rui Esteves for his improvement which worked for me <img src='http://www.flexer.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mediamuis</title>
		<link>http://www.flexer.info/2009/02/06/auto-resizable-text-area-component/comment-page-1/#comment-1797</link>
		<dc:creator>Mediamuis</dc:creator>
		<pubDate>Thu, 28 Jan 2010 07:32:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexer.info/?p=510#comment-1797</guid>
		<description>Hi, first of all thanx for this great example,

I&#039;m strugling witch the fact that I want to copy text in the textArea by actionscript. The problem is that the TArea is not resaing. Only when I put a keystroke in the tArea the resize is triggered. Does anyone know a sollution for this.

Mark</description>
		<content:encoded><![CDATA[<p>Hi, first of all thanx for this great example,</p>
<p>I&#8217;m strugling witch the fact that I want to copy text in the textArea by actionscript. The problem is that the TArea is not resaing. Only when I put a keystroke in the tArea the resize is triggered. Does anyone know a sollution for this.</p>
<p>Mark</p>
]]></content:encoded>
	</item>
</channel>
</rss>

