<?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: Applying a cascading style sheet to a TextArea control in Flex</title>
	<atom:link href="http://blog.flexexamples.com/2008/03/22/applying-a-cascading-style-sheet-to-a-textarea-control-in-flex/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com/2008/03/22/applying-a-cascading-style-sheet-to-a-textarea-control-in-flex/</link>
	<description>Just a bunch of Adobe Flex Examples</description>
	<lastBuildDate>Tue, 16 Mar 2010 09:52:20 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Andrew</title>
		<link>http://blog.flexexamples.com/2008/03/22/applying-a-cascading-style-sheet-to-a-textarea-control-in-flex/comment-page-1/#comment-6953</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Mon, 08 Feb 2010 00:20:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/03/22/applying-a-cascading-style-sheet-to-a-textarea-control-in-flex/#comment-6953</guid>
		<description>I&#039;m experiencing the same problem as Johan Velthuis

It seems that after applying a stylesheet to a TextArea, you can no longer edit the TextArea. What a drag :(  But thanks for the great post as usual. 

Andrew.</description>
		<content:encoded><![CDATA[<p>I&#8217;m experiencing the same problem as Johan Velthuis</p>
<p>It seems that after applying a stylesheet to a TextArea, you can no longer edit the TextArea. What a drag :(  But thanks for the great post as usual. </p>
<p>Andrew.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon</title>
		<link>http://blog.flexexamples.com/2008/03/22/applying-a-cascading-style-sheet-to-a-textarea-control-in-flex/comment-page-1/#comment-6445</link>
		<dc:creator>Jon</dc:creator>
		<pubDate>Tue, 24 Nov 2009 12:50:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/03/22/applying-a-cascading-style-sheet-to-a-textarea-control-in-flex/#comment-6445</guid>
		<description>Awesome, thanks!</description>
		<content:encoded><![CDATA[<p>Awesome, thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johan Velthuis</title>
		<link>http://blog.flexexamples.com/2008/03/22/applying-a-cascading-style-sheet-to-a-textarea-control-in-flex/comment-page-1/#comment-4330</link>
		<dc:creator>Johan Velthuis</dc:creator>
		<pubDate>Thu, 25 Jun 2009 18:42:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/03/22/applying-a-cascading-style-sheet-to-a-textarea-control-in-flex/#comment-4330</guid>
		<description>Hello everyone,

I&#039;ve tried the TextArea.stylesheet method and it works, but after applying the stylesheet, it seems that the textarea is not editable anymore?
I saw that Steve asked the same question, but I did not find an answer to it anywhere.

I hope someone can help, because I&#039;m in desparate need of an editable textarea with css.

Thanks in advance,

Johan Velthuis
Holland</description>
		<content:encoded><![CDATA[<p>Hello everyone,</p>
<p>I&#8217;ve tried the TextArea.stylesheet method and it works, but after applying the stylesheet, it seems that the textarea is not editable anymore?<br />
I saw that Steve asked the same question, but I did not find an answer to it anywhere.</p>
<p>I hope someone can help, because I&#8217;m in desparate need of an editable textarea with css.</p>
<p>Thanks in advance,</p>
<p>Johan Velthuis<br />
Holland</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter deHaan</title>
		<link>http://blog.flexexamples.com/2008/03/22/applying-a-cascading-style-sheet-to-a-textarea-control-in-flex/comment-page-1/#comment-2948</link>
		<dc:creator>Peter deHaan</dc:creator>
		<pubDate>Thu, 18 Jun 2009 15:16:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/03/22/applying-a-cascading-style-sheet-to-a-textarea-control-in-flex/#comment-2948</guid>
		<description>amarjit,

I believe this has been fixed in newer versions of the Flex SDK. See http://bugs.adobe.com/jira/browse/SDK-19734 for more information. According to the comments in the patch, this was fixed with SVN checkin 5719 (post Flex SDK  3.3). You can download the latest stable/nightly builds of the Flex 3 SDK from http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+3 (just make sure you download something more recent than build 3.4.0.5719).

Peter</description>
		<content:encoded><![CDATA[<p>amarjit,</p>
<p>I believe this has been fixed in newer versions of the Flex SDK. See <a href="http://bugs.adobe.com/jira/browse/SDK-19734" rel="nofollow">http://bugs.adobe.com/jira/browse/SDK-19734</a> for more information. According to the comments in the patch, this was fixed with SVN checkin 5719 (post Flex SDK  3.3). You can download the latest stable/nightly builds of the Flex 3 SDK from <a href="http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+3" rel="nofollow">http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+3</a> (just make sure you download something more recent than build 3.4.0.5719).</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: amarjit</title>
		<link>http://blog.flexexamples.com/2008/03/22/applying-a-cascading-style-sheet-to-a-textarea-control-in-flex/comment-page-1/#comment-2946</link>
		<dc:creator>amarjit</dc:creator>
		<pubDate>Thu, 18 Jun 2009 07:22:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/03/22/applying-a-cascading-style-sheet-to-a-textarea-control-in-flex/#comment-2946</guid>
		<description>Hi Everyone

I have a situation where i have to provide a stylesheeet to the Text Component. So that the htmlText works the sameway as in TextArea, but there is not any property sa stylesheet for Text component.

Plz suggest how to do implement that.

Thanks</description>
		<content:encoded><![CDATA[<p>Hi Everyone</p>
<p>I have a situation where i have to provide a stylesheeet to the Text Component. So that the htmlText works the sameway as in TextArea, but there is not any property sa stylesheet for Text component.</p>
<p>Plz suggest how to do implement that.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: oragainst</title>
		<link>http://blog.flexexamples.com/2008/03/22/applying-a-cascading-style-sheet-to-a-textarea-control-in-flex/comment-page-1/#comment-2950</link>
		<dc:creator>oragainst</dc:creator>
		<pubDate>Mon, 08 Jun 2009 20:11:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/03/22/applying-a-cascading-style-sheet-to-a-textarea-control-in-flex/#comment-2950</guid>
		<description>Hi,

This post is great, the closest yet to the solution that I am searching for. I&#039;m slightly confused as to why I can have custom CSS classes and implement them in Flash or Actionscript projects but cannot do so in Flex. Or, I could be completely off my rocker. Three of us have been using CSS Classes like

myCustom
{
	embedFonts: true;
   	font-family: &quot;Gotham Bold&quot;;
   	font-anti-alias-type:advanced;
   	font-size: 12;
   	color: #FF0000;
}

with html text like

field.htmlText = &lt;GBodyFX&gt;my css implementation&lt;/GBodyFX&gt;

the TextArea or UITextField will pick up the size, color, basically all the attributes except the embedded font. Now I would say that the font isn&#039;t embedded, but there are components sitting right next to the ones I am having trouble with that are using style properties and look great, embeddedFont, AntiAliasedType.ADVANCED, the whole bit. The only difference are the components that look correct are using compile time CSS and the text components that are using runtime CSS. Any suggestions?

Thanks!</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>This post is great, the closest yet to the solution that I am searching for. I&#8217;m slightly confused as to why I can have custom CSS classes and implement them in Flash or Actionscript projects but cannot do so in Flex. Or, I could be completely off my rocker. Three of us have been using CSS Classes like</p>
<p>myCustom<br />
{<br />
	embedFonts: true;<br />
   	font-family: &#8220;Gotham Bold&#8221;;<br />
   	font-anti-alias-type:advanced;<br />
   	font-size: 12;<br />
   	color: #FF0000;<br />
}</p>
<p>with html text like</p>
<p>field.htmlText = &lt;GBodyFX&gt;my css implementation&lt;/GBodyFX&gt;</p>
<p>the TextArea or UITextField will pick up the size, color, basically all the attributes except the embedded font. Now I would say that the font isn&#8217;t embedded, but there are components sitting right next to the ones I am having trouble with that are using style properties and look great, embeddedFont, AntiAliasedType.ADVANCED, the whole bit. The only difference are the components that look correct are using compile time CSS and the text components that are using runtime CSS. Any suggestions?</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter deHaan</title>
		<link>http://blog.flexexamples.com/2008/03/22/applying-a-cascading-style-sheet-to-a-textarea-control-in-flex/comment-page-1/#comment-2954</link>
		<dc:creator>Peter deHaan</dc:creator>
		<pubDate>Wed, 03 Jun 2009 16:02:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/03/22/applying-a-cascading-style-sheet-to-a-textarea-control-in-flex/#comment-2954</guid>
		<description>Heidi,

Good question. I&#039;m not sure you can define an ActionScript StyleSheet object in MXML. It looks like you&#039;d need to call the &lt;code&gt;parseCSS()&lt;/code&gt; method to convert the text into a StyleSheet object.

http://livedocs.adobe.com/flex/3/langref/flash/text/StyleSheet.html

This is as close as I could get, but I don&#039;t know it is any better than the code above:
&lt;pre class=&quot;code&quot;&gt;
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;mx:Application name=&quot;TextArea_styleSheet_test&quot;
        xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot;
        layout=&quot;vertical&quot;
        verticalAlign=&quot;middle&quot;
        backgroundColor=&quot;white&quot;&gt;

    &lt;mx:Script&gt;
        &lt;![CDATA[
            import mx.controls.Alert;

            private function textArea_link(evt:TextEvent):void {
                Alert.show(&quot;text: &quot; + evt.text, &quot;Panel&quot;);
            }
        ]]&gt;
    &lt;/mx:Script&gt;

    &lt;mx:String id=&quot;cssStr&quot;&gt;
        &lt;![CDATA[
            h1 {
                font-size: 24;
            }

            p {
                font-size: 10;
                text-align: justify;
            }

            a {
                text-decoration: underline;
                color: #0000FF;
            }

            a:hover {
                color: #FF0000;
            }
        ]]&gt;
    &lt;/mx:String&gt;

    &lt;flash:StyleSheet id=&quot;styleSh&quot; xmlns:flash=&quot;flash.text.*&quot; /&gt;

    &lt;mx:TextArea id=&quot;textArea&quot;
            editable=&quot;false&quot;
            condenseWhite=&quot;true&quot;
            width=&quot;100%&quot;
            height=&quot;100%&quot;
            styleSheet=&quot;{styleSh}&quot;
            initialize=&quot;styleSh.parseCSS(cssStr);&quot;
            link=&quot;textArea_link(event);&quot;&gt;
        &lt;mx:htmlText&gt;
            &lt;![CDATA[
                &lt;h1&gt;More Information...&lt;/h1&gt;
                &lt;p&gt;Lorem ipsum &lt;a href=&quot;http://www.adobe.com/&quot; target=&quot;_top&quot;&gt;dolor sit amet&lt;/a&gt;, consectetuer adipiscing elit. Donec at arcu in lacus iaculis ultricies. Vivamus consectetuer. Donec vulputate aliquam leo. Nam metus. Aliquam nulla odio, ultrices vitae, nonummy eget, viverra accumsan, tellus. Curabitur neque ante, nonummy ut, fermentum eu, elementum a, ligula. Fusce hendrerit lectus ac velit. Suspendisse lorem pede, sagittis ac, fermentum non, auctor quis, nulla. Integer eu lacus sit amet justo vestibulum sodales. In euismod tellus eget magna. Vestibulum sed ante. Suspendisse eros libero, gravida ac, cursus et, porta vitae, lectus.&lt;/p&gt;
                &lt;br /&gt;
                &lt;p&gt;Vestibulum pretium ante eget justo. &lt;a href=&quot;event:flex&quot;&gt;Quisque&lt;/a&gt; sed tortor nec erat pellentesque sollicitudin. Ut placerat, enim vel ultricies vehicula, leo diam vulputate nibh, eu ultricies dui dui aliquam magna. Phasellus tempus leo eu tortor. Vestibulum sollicitudin turpis et arcu. Nullam felis neque, ultrices eu, vestibulum nec, ornare vitae, odio. Aenean vestibulum ullamcorper justo. Proin magna. Suspendisse potenti. Nunc sodales, eros a ultrices commodo, lorem sem rhoncus eros, id porta arcu felis id massa.&lt;/p&gt;
                &lt;br /&gt;
                &lt;p&gt;Donec tincidunt neque nec erat. In &lt;a href=&quot;http://www.onflex.org/&quot; target=&quot;_blank&quot;&gt;pretium orci vitae justo&lt;/a&gt;. Cras massa. Phasellus in massa. Curabitur diam velit, accumsan ut, tristique non, pulvinar in, libero. Praesent et nulla iaculis nisi condimentum tincidunt. Nulla bibendum. Duis pellentesque, libero non hendrerit scelerisque, erat eros dignissim diam, sit amet tempor mi lorem et justo. Curabitur mollis elit vel tortor. Vivamus risus nisl, sodales quis, aliquam non, tempor vitae, nisl. Duis luctus ipsum id felis. Nullam quis dui sit amet ante ultrices gravida. Vestibulum id felis. Curabitur mauris magna, dictum in, accumsan aliquam, bibendum eget, magna. Donec consequat tristique purus. Nunc bibendum nisi vitae tellus. Phasellus elit elit, pharetra id, elementum adipiscing, sollicitudin sed, neque. Nulla arcu. Integer sit amet elit. Pellentesque facilisis, mauris vel ullamcorper faucibus, quam felis fringilla mi, non adipiscing ante odio luctus tortor.&lt;/p&gt;
                &lt;br /&gt;
                &lt;p&gt;Etiam interdum dui quis urna. Cras rutrum ipsum eget nulla vestibulum imperdiet. Proin ut augue porta dui faucibus adipiscing. Pellentesque a dui. Proin malesuada mattis dui. Duis vestibulum, nulla eu hendrerit fermentum, enim purus tristique justo, in aliquet tortor nisl non purus. Nam vitae quam. Duis ut risus ac sem nonummy luctus. Pellentesque a ligula at neque tempus semper. Mauris varius nibh.&lt;/p&gt;
                &lt;br /&gt;
                &lt;p&gt;Nullam consequat justo vitae lorem. Maecenas non dui a eros sollicitudin placerat. Nunc faucibus. Donec vestibulum ullamcorper magna. Vivamus non tellus. Ut quis justo id mi sollicitudin hendrerit. Sed lobortis pharetra turpis. Quisque egestas. Phasellus orci nibh, molestie eu, malesuada semper, imperdiet et, nulla. Vestibulum sed diam. Praesent at justo. Morbi mi eros, ultrices sed, vulputate vitae, varius dictum, est. Donec purus orci, viverra aliquam, sagittis nec, consequat ac, erat. Donec ac justo sit amet erat laoreet semper. Proin ornare. Phasellus adipiscing semper dolor. Nulla ultrices, ante id molestie adipiscing, massa nibh volutpat quam, eget egestas arcu dolor in tortor. Ut laoreet turpis et justo.&lt;/p&gt;
            ]]&gt;
        &lt;/mx:htmlText&gt;
    &lt;/mx:TextArea&gt;

&lt;/mx:Application&gt;
&lt;/pre&gt;

Peter</description>
		<content:encoded><![CDATA[<p>Heidi,</p>
<p>Good question. I&#8217;m not sure you can define an ActionScript StyleSheet object in MXML. It looks like you&#8217;d need to call the <code>parseCSS()</code> method to convert the text into a StyleSheet object.</p>
<p><a href="http://livedocs.adobe.com/flex/3/langref/flash/text/StyleSheet.html" rel="nofollow">http://livedocs.adobe.com/flex/3/langref/flash/text/StyleSheet.html</a></p>
<p>This is as close as I could get, but I don&#8217;t know it is any better than the code above:</p>
<pre class="code">
&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;mx:Application name="TextArea_styleSheet_test"
        xmlns:mx="http://www.adobe.com/2006/mxml"
        layout="vertical"
        verticalAlign="middle"
        backgroundColor="white"&gt;

    &lt;mx:Script&gt;
        &lt;![CDATA[
            import mx.controls.Alert;

            private function textArea_link(evt:TextEvent):void {
                Alert.show("text: " + evt.text, "Panel");
            }
        ]]&gt;
    &lt;/mx:Script&gt;

    &lt;mx:String id="cssStr"&gt;
        &lt;![CDATA[
            h1 {
                font-size: 24;
            }

            p {
                font-size: 10;
                text-align: justify;
            }

            a {
                text-decoration: underline;
                color: #0000FF;
            }

            a:hover {
                color: #FF0000;
            }
        ]]&gt;
    &lt;/mx:String&gt;

    &lt;flash:StyleSheet id="styleSh" xmlns:flash="flash.text.*" /&gt;

    &lt;mx:TextArea id="textArea"
            editable="false"
            condenseWhite="true"
            width="100%"
            height="100%"
            styleSheet="{styleSh}"
            initialize="styleSh.parseCSS(cssStr);"
            link="textArea_link(event);"&gt;
        &lt;mx:htmlText&gt;
            &lt;![CDATA[
                &lt;h1&gt;More Information...&lt;/h1&gt;
                &lt;p&gt;Lorem ipsum &lt;a href="http://www.adobe.com/" target="_top"&gt;dolor sit amet&lt;/a&gt;, consectetuer adipiscing elit. Donec at arcu in lacus iaculis ultricies. Vivamus consectetuer. Donec vulputate aliquam leo. Nam metus. Aliquam nulla odio, ultrices vitae, nonummy eget, viverra accumsan, tellus. Curabitur neque ante, nonummy ut, fermentum eu, elementum a, ligula. Fusce hendrerit lectus ac velit. Suspendisse lorem pede, sagittis ac, fermentum non, auctor quis, nulla. Integer eu lacus sit amet justo vestibulum sodales. In euismod tellus eget magna. Vestibulum sed ante. Suspendisse eros libero, gravida ac, cursus et, porta vitae, lectus.&lt;/p&gt;
                &lt;br /&gt;
                &lt;p&gt;Vestibulum pretium ante eget justo. &lt;a href="event:flex"&gt;Quisque&lt;/a&gt; sed tortor nec erat pellentesque sollicitudin. Ut placerat, enim vel ultricies vehicula, leo diam vulputate nibh, eu ultricies dui dui aliquam magna. Phasellus tempus leo eu tortor. Vestibulum sollicitudin turpis et arcu. Nullam felis neque, ultrices eu, vestibulum nec, ornare vitae, odio. Aenean vestibulum ullamcorper justo. Proin magna. Suspendisse potenti. Nunc sodales, eros a ultrices commodo, lorem sem rhoncus eros, id porta arcu felis id massa.&lt;/p&gt;
                &lt;br /&gt;
                &lt;p&gt;Donec tincidunt neque nec erat. In &lt;a href="http://www.onflex.org/" target="_blank"&gt;pretium orci vitae justo&lt;/a&gt;. Cras massa. Phasellus in massa. Curabitur diam velit, accumsan ut, tristique non, pulvinar in, libero. Praesent et nulla iaculis nisi condimentum tincidunt. Nulla bibendum. Duis pellentesque, libero non hendrerit scelerisque, erat eros dignissim diam, sit amet tempor mi lorem et justo. Curabitur mollis elit vel tortor. Vivamus risus nisl, sodales quis, aliquam non, tempor vitae, nisl. Duis luctus ipsum id felis. Nullam quis dui sit amet ante ultrices gravida. Vestibulum id felis. Curabitur mauris magna, dictum in, accumsan aliquam, bibendum eget, magna. Donec consequat tristique purus. Nunc bibendum nisi vitae tellus. Phasellus elit elit, pharetra id, elementum adipiscing, sollicitudin sed, neque. Nulla arcu. Integer sit amet elit. Pellentesque facilisis, mauris vel ullamcorper faucibus, quam felis fringilla mi, non adipiscing ante odio luctus tortor.&lt;/p&gt;
                &lt;br /&gt;
                &lt;p&gt;Etiam interdum dui quis urna. Cras rutrum ipsum eget nulla vestibulum imperdiet. Proin ut augue porta dui faucibus adipiscing. Pellentesque a dui. Proin malesuada mattis dui. Duis vestibulum, nulla eu hendrerit fermentum, enim purus tristique justo, in aliquet tortor nisl non purus. Nam vitae quam. Duis ut risus ac sem nonummy luctus. Pellentesque a ligula at neque tempus semper. Mauris varius nibh.&lt;/p&gt;
                &lt;br /&gt;
                &lt;p&gt;Nullam consequat justo vitae lorem. Maecenas non dui a eros sollicitudin placerat. Nunc faucibus. Donec vestibulum ullamcorper magna. Vivamus non tellus. Ut quis justo id mi sollicitudin hendrerit. Sed lobortis pharetra turpis. Quisque egestas. Phasellus orci nibh, molestie eu, malesuada semper, imperdiet et, nulla. Vestibulum sed diam. Praesent at justo. Morbi mi eros, ultrices sed, vulputate vitae, varius dictum, est. Donec purus orci, viverra aliquam, sagittis nec, consequat ac, erat. Donec ac justo sit amet erat laoreet semper. Proin ornare. Phasellus adipiscing semper dolor. Nulla ultrices, ante id molestie adipiscing, massa nibh volutpat quam, eget egestas arcu dolor in tortor. Ut laoreet turpis et justo.&lt;/p&gt;
            ]]&gt;
        &lt;/mx:htmlText&gt;
    &lt;/mx:TextArea&gt;

&lt;/mx:Application&gt;
</pre>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Heidi</title>
		<link>http://blog.flexexamples.com/2008/03/22/applying-a-cascading-style-sheet-to-a-textarea-control-in-flex/comment-page-1/#comment-2947</link>
		<dc:creator>Heidi</dc:creator>
		<pubDate>Wed, 03 Jun 2009 09:58:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/03/22/applying-a-cascading-style-sheet-to-a-textarea-control-in-flex/#comment-2947</guid>
		<description>How to create a styleSheet using the tag &lt;text:StyleSheet&gt;...&lt;/text:StyleSheet&gt; ?

I have tried, but hasn&#039;t succeeded getting it compiled yet.
The tag is available, so I guess it should be possible.</description>
		<content:encoded><![CDATA[<p>How to create a styleSheet using the tag &lt;text:StyleSheet&gt;&#8230;&lt;/text:StyleSheet&gt; ?</p>
<p>I have tried, but hasn&#8217;t succeeded getting it compiled yet.<br />
The tag is available, so I guess it should be possible.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ronald</title>
		<link>http://blog.flexexamples.com/2008/03/22/applying-a-cascading-style-sheet-to-a-textarea-control-in-flex/comment-page-1/#comment-2949</link>
		<dc:creator>Ronald</dc:creator>
		<pubDate>Tue, 31 Mar 2009 13:17:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/03/22/applying-a-cascading-style-sheet-to-a-textarea-control-in-flex/#comment-2949</guid>
		<description>Very good article explaining dynamic stylesheet implementation on all flex components

http://askmeflash.com/article_m.php?p=article&amp;id=6</description>
		<content:encoded><![CDATA[<p>Very good article explaining dynamic stylesheet implementation on all flex components</p>
<p><a href="http://askmeflash.com/article_m.php?p=article&#038;id=6" rel="nofollow">http://askmeflash.com/article_m.php?p=article&#038;id=6</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DavidR</title>
		<link>http://blog.flexexamples.com/2008/03/22/applying-a-cascading-style-sheet-to-a-textarea-control-in-flex/comment-page-1/#comment-2951</link>
		<dc:creator>DavidR</dc:creator>
		<pubDate>Wed, 18 Mar 2009 12:02:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/03/22/applying-a-cascading-style-sheet-to-a-textarea-control-in-flex/#comment-2951</guid>
		<description>Patrick,

You need to set the styleSheet first, and then set the htmlText.

If you are seeing changes after edits, don&#039;t forget to clean the project. This helps ensure that the newly edited copy of your stylesheet is moved into the bin-debug folder.

Peter, could you address the vexing problem of trying to print this textfield, populated with htmlText, over multiple pages? I can&#039;t get this to work without losing two lines of text between page breaks.

I&#039;ve found lots of examples of folks grappling with the printing issue, but no viable solutions. If anyone can find a solution, it would be you!

David</description>
		<content:encoded><![CDATA[<p>Patrick,</p>
<p>You need to set the styleSheet first, and then set the htmlText.</p>
<p>If you are seeing changes after edits, don&#8217;t forget to clean the project. This helps ensure that the newly edited copy of your stylesheet is moved into the bin-debug folder.</p>
<p>Peter, could you address the vexing problem of trying to print this textfield, populated with htmlText, over multiple pages? I can&#8217;t get this to work without losing two lines of text between page breaks.</p>
<p>I&#8217;ve found lots of examples of folks grappling with the printing issue, but no viable solutions. If anyone can find a solution, it would be you!</p>
<p>David</p>
]]></content:encoded>
	</item>
</channel>
</rss>
