<?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: Setting the vertical scroll position on a Spark RichEditableText control in Flex 4</title>
	<atom:link href="http://blog.flexexamples.com/2009/08/19/setting-the-vertical-scroll-position-on-a-spark-richeditabletext-control-in-flex-4/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com/2009/08/19/setting-the-vertical-scroll-position-on-a-spark-richeditabletext-control-in-flex-4/</link>
	<description>Just a bunch of Adobe Flex Examples</description>
	<lastBuildDate>Sun, 12 Feb 2012 19:26:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ricardo</title>
		<link>http://blog.flexexamples.com/2009/08/19/setting-the-vertical-scroll-position-on-a-spark-richeditabletext-control-in-flex-4/comment-page-1/#comment-9479</link>
		<dc:creator>Ricardo</dc:creator>
		<pubDate>Sat, 06 Aug 2011 14:05:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/?p=1649#comment-9479</guid>
		<description>Hello!

What if I update my richEditableText dinamically (for example, by clicking on a list)? It does not update my scroll properly (PS:I am very new to Flex, sorry if it is a very silly question) here is my code:

                my_rich_text.textFlow = TextFlowUtil.importFromString(my_list.selectedItem.conteudo);

 

                my_scroll.minimum = 0;

 

                my_scroll.maximum = my_rich_text.contentHeight - my_rich_text.height;

 

                my_rich_text.verticalScrollPosition = 0;

 

                my_scroll.setVisible(Boolean(my_scroll.maximum &gt; 0));

Thanks in advance!</description>
		<content:encoded><![CDATA[<p>Hello!</p>
<p>What if I update my richEditableText dinamically (for example, by clicking on a list)? It does not update my scroll properly (PS:I am very new to Flex, sorry if it is a very silly question) here is my code:</p>
<p>                my_rich_text.textFlow = TextFlowUtil.importFromString(my_list.selectedItem.conteudo);</p>
<p>                my_scroll.minimum = 0;</p>
<p>                my_scroll.maximum = my_rich_text.contentHeight &#8211; my_rich_text.height;</p>
<p>                my_rich_text.verticalScrollPosition = 0;</p>
<p>                my_scroll.setVisible(Boolean(my_scroll.maximum &gt; 0));</p>
<p>Thanks in advance!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: julien</title>
		<link>http://blog.flexexamples.com/2009/08/19/setting-the-vertical-scroll-position-on-a-spark-richeditabletext-control-in-flex-4/comment-page-1/#comment-5720</link>
		<dc:creator>julien</dc:creator>
		<pubDate>Fri, 11 Sep 2009 18:22:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/?p=1649#comment-5720</guid>
		<description>Thanks for the example,  I added some animation based on your example and posted it here http://jucast.tumblr.com/post/185468850/animated-text-scrolling-in-gumbo</description>
		<content:encoded><![CDATA[<p>Thanks for the example,  I added some animation based on your example and posted it here <a href="http://jucast.tumblr.com/post/185468850/animated-text-scrolling-in-gumbo" rel="nofollow">http://jucast.tumblr.com/post/185468850/animated-text-scrolling-in-gumbo</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter deHaan</title>
		<link>http://blog.flexexamples.com/2009/08/19/setting-the-vertical-scroll-position-on-a-spark-richeditabletext-control-in-flex-4/comment-page-1/#comment-5250</link>
		<dc:creator>Peter deHaan</dc:creator>
		<pubDate>Wed, 19 Aug 2009 21:00:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/?p=1649#comment-5250</guid>
		<description>Yeah, I doubt [m]any of these examples will work in the old Flex 4 Beta 1 SDK. It is super old (build 7219 vs 9377), and we have seen many renames since that old beta build.

And yes, when using nightly Flex 4 SDKs in Flash Builder 4, you&#039;ll want to disable that network monitor since it isn&#039;t included in Nightly SDK builds. That is/was a bug and has been fixed in newer (internal) Flash Builder 4 builds (or so I understand). I&#039;m guessing you were seeing the odd behavior when switching SDKs because the project files weren&#039;t always getting recompiled. Sometimes I&#039;ll add a space and delete it just to force a recompile (or just try doing a Project &gt; Clean).

Peter</description>
		<content:encoded><![CDATA[<p>Yeah, I doubt [m]any of these examples will work in the old Flex 4 Beta 1 SDK. It is super old (build 7219 vs 9377), and we have seen many renames since that old beta build.</p>
<p>And yes, when using nightly Flex 4 SDKs in Flash Builder 4, you&#8217;ll want to disable that network monitor since it isn&#8217;t included in Nightly SDK builds. That is/was a bug and has been fixed in newer (internal) Flash Builder 4 builds (or so I understand). I&#8217;m guessing you were seeing the odd behavior when switching SDKs because the project files weren&#8217;t always getting recompiled. Sometimes I&#8217;ll add a space and delete it just to force a recompile (or just try doing a Project &gt; Clean).</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oscar</title>
		<link>http://blog.flexexamples.com/2009/08/19/setting-the-vertical-scroll-position-on-a-spark-richeditabletext-control-in-flex-4/comment-page-1/#comment-5249</link>
		<dc:creator>Oscar</dc:creator>
		<pubDate>Wed, 19 Aug 2009 18:33:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/?p=1649#comment-5249</guid>
		<description>AH.. I have an other clue:
So, starting with FB b1 standard SDK, I get textbox as wide as the textlines in it.
Changing compilersettings to latest SDK, restart, compiling, same textbox still as wide as the text in it.
From menu: Project &gt; Clean...
compiling again: Voila! Square textbox with wrapped text &amp; working slider.

In between: I got the error:
unable to open &#039;C:\Program Files\Adobe\Flash Builder Plug-in Beta\sdks\4.0.0.9377\frameworks/libs/netmon.swc&#039;

So that was the reason for me to uncheck Network Monitor in the first place &amp; press apply.
I guess it also preforms a &#039;clean project&#039;</description>
		<content:encoded><![CDATA[<p>AH.. I have an other clue:<br />
So, starting with FB b1 standard SDK, I get textbox as wide as the textlines in it.<br />
Changing compilersettings to latest SDK, restart, compiling, same textbox still as wide as the text in it.<br />
From menu: Project &gt; Clean&#8230;<br />
compiling again: Voila! Square textbox with wrapped text &amp; working slider.</p>
<p>In between: I got the error:<br />
unable to open &#8216;C:\Program Files\Adobe\Flash Builder Plug-in Beta\sdks\4.0.0.9377\frameworks/libs/netmon.swc&#8217;</p>
<p>So that was the reason for me to uncheck Network Monitor in the first place &amp; press apply.<br />
I guess it also preforms a &#8216;clean project&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oscar</title>
		<link>http://blog.flexexamples.com/2009/08/19/setting-the-vertical-scroll-position-on-a-spark-richeditabletext-control-in-flex-4/comment-page-1/#comment-5248</link>
		<dc:creator>Oscar</dc:creator>
		<pubDate>Wed, 19 Aug 2009 18:21:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/?p=1649#comment-5248</guid>
		<description>So, check this out:
Standard FB b1 rendered the textbox as wide as the text. So slider didn&#039;t work.
Downloaded latest nightly build, switched compiler, error: An internal build error..
restarted FB, no error, compiled, textbox as wide as the text... *frown* no good.

Went back to compiler properties, checked settings, disabled Network Monitor (completely unrelated...), 
pressed &quot;Apply&quot;, compiled again, voila!
text is shown in a neat square box, slider does what it&#039;s supposed to do.

Perfect.

Then I switched back to standard FB b1 Flex SDK, restarted FB, compiled:
Text is still shown in neat square box! *frown*?
Went back to compiler properties, checked settings, enabled Network Monitor (completely unrelated...still..), pressed &quot;Apply&quot;, compiled again, voila!
Textbox again as wide as text.

?

I can replicate this behaviour as much as I want.
I&#039;m using the FB-plugin for eclipse by the way.
Is this a bug, or me being confused?</description>
		<content:encoded><![CDATA[<p>So, check this out:<br />
Standard FB b1 rendered the textbox as wide as the text. So slider didn&#8217;t work.<br />
Downloaded latest nightly build, switched compiler, error: An internal build error..<br />
restarted FB, no error, compiled, textbox as wide as the text&#8230; *frown* no good.</p>
<p>Went back to compiler properties, checked settings, disabled Network Monitor (completely unrelated&#8230;),<br />
pressed &#8220;Apply&#8221;, compiled again, voila!<br />
text is shown in a neat square box, slider does what it&#8217;s supposed to do.</p>
<p>Perfect.</p>
<p>Then I switched back to standard FB b1 Flex SDK, restarted FB, compiled:<br />
Text is still shown in neat square box! *frown*?<br />
Went back to compiler properties, checked settings, enabled Network Monitor (completely unrelated&#8230;still..), pressed &#8220;Apply&#8221;, compiled again, voila!<br />
Textbox again as wide as text.</p>
<p>?</p>
<p>I can replicate this behaviour as much as I want.<br />
I&#8217;m using the FB-plugin for eclipse by the way.<br />
Is this a bug, or me being confused?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oscar</title>
		<link>http://blog.flexexamples.com/2009/08/19/setting-the-vertical-scroll-position-on-a-spark-richeditabletext-control-in-flex-4/comment-page-1/#comment-5247</link>
		<dc:creator>Oscar</dc:creator>
		<pubDate>Wed, 19 Aug 2009 17:46:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/?p=1649#comment-5247</guid>
		<description>Doesn&#039;t work with FlashBuilder B1. 
I&#039;ll try using the latest nightly build of Flex SDK a bit later.</description>
		<content:encoded><![CDATA[<p>Doesn&#8217;t work with FlashBuilder B1.<br />
I&#8217;ll try using the latest nightly build of Flex SDK a bit later.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

