<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Determining the number of lines in a TextArea control in Flex</title>
	<link>http://blog.flexexamples.com/2008/05/08/determining-the-number-of-lines-in-a-textarea-control-in-flex/</link>
	<description>A bunch of examples for Adobe Flex and ActionScript</description>
	<pubDate>Mon, 08 Sep 2008 07:27:27 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.1</generator>

	<item>
		<title>By: Randy</title>
		<link>http://blog.flexexamples.com/2008/05/08/determining-the-number-of-lines-in-a-textarea-control-in-flex/#comment-14786</link>
		<author>Randy</author>
		<pubDate>Tue, 19 Aug 2008 03:31:06 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2008/05/08/determining-the-number-of-lines-in-a-textarea-control-in-flex/#comment-14786</guid>
		<description>Hi-

how would I achieve this in an actionscript class? I have a class extending textArea and I'm trying to access the textField methods by using 

import mx.core.mx_internal; (right after the package definition)
this.mx_internal::getTextField().numLines; (in a function) 

I get no warnings, but I still get a null object reference error when I debug:( 

help!

-Randy</description>
		<content:encoded><![CDATA[<p>Hi-</p>
<p>how would I achieve this in an actionscript class? I have a class extending textArea and I&#8217;m trying to access the textField methods by using </p>
<p>import mx.core.mx_internal; (right after the package definition)<br />
this.mx_internal::getTextField().numLines; (in a function) </p>
<p>I get no warnings, but I still get a null object reference error when I debug:( </p>
<p>help!</p>
<p>-Randy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adrian</title>
		<link>http://blog.flexexamples.com/2008/05/08/determining-the-number-of-lines-in-a-textarea-control-in-flex/#comment-14726</link>
		<author>Adrian</author>
		<pubDate>Fri, 15 Aug 2008 13:57:40 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2008/05/08/determining-the-number-of-lines-in-a-textarea-control-in-flex/#comment-14726</guid>
		<description>Another thank you! :) I may never have figured this out from the Flex help!</description>
		<content:encoded><![CDATA[<p>Another thank you! :) I may never have figured this out from the Flex help!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Nunciato</title>
		<link>http://blog.flexexamples.com/2008/05/08/determining-the-number-of-lines-in-a-textarea-control-in-flex/#comment-14474</link>
		<author>Chris Nunciato</author>
		<pubDate>Mon, 04 Aug 2008 20:18:38 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2008/05/08/determining-the-number-of-lines-in-a-textarea-control-in-flex/#comment-14474</guid>
		<description>Thanks much!  This helped me out of a long-running bind.  Good ol' mx_internal!

Cheers,
Chris</description>
		<content:encoded><![CDATA[<p>Thanks much!  This helped me out of a long-running bind.  Good ol&#8217; mx_internal!</p>
<p>Cheers,<br />
Chris</p>
]]></content:encoded>
	</item>
</channel>
</rss>
