<?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: Spark TextArea weirdness</title>
	<atom:link href="http://blog.lyraspace.com/2009/07/30/spark-textarea-weirdness/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.lyraspace.com/2009/07/30/spark-textarea-weirdness/</link>
	<description>Rich-Media Deseloping &#38; Devigning</description>
	<lastBuildDate>Thu, 22 Dec 2011 09:52:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Peter deHaan</title>
		<link>http://blog.lyraspace.com/2009/07/30/spark-textarea-weirdness/comment-page-1/#comment-208</link>
		<dc:creator>Peter deHaan</dc:creator>
		<pubDate>Fri, 31 Jul 2009 14:48:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.lyraspace.com/?p=164#comment-208</guid>
		<description>Also, not sure it will help at all, but I tried getting http://bugs.adobe.com/jira/browse/SDK-19255 reopened (I was still seeing some weird focus glow with a custom TextArea skin with a background fill alpha of 0% and 30%).
Please, feel free to head over to the bugbase and [vote on /subscribe to] the issue. The more votes it gets, the more Adobe will know people think the issue should get considered and/or fixed.

Peter</description>
		<content:encoded><![CDATA[<p>Also, not sure it will help at all, but I tried getting <a href="http://bugs.adobe.com/jira/browse/SDK-19255" rel="nofollow">http://bugs.adobe.com/jira/browse/SDK-19255</a> reopened (I was still seeing some weird focus glow with a custom TextArea skin with a background fill alpha of 0% and 30%).<br />
Please, feel free to head over to the bugbase and [vote on /subscribe to] the issue. The more votes it gets, the more Adobe will know people think the issue should get considered and/or fixed.</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter deHaan</title>
		<link>http://blog.lyraspace.com/2009/07/30/spark-textarea-weirdness/comment-page-1/#comment-207</link>
		<dc:creator>Peter deHaan</dc:creator>
		<pubDate>Fri, 31 Jul 2009 14:45:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.lyraspace.com/?p=164#comment-207</guid>
		<description>Re: comment #1,
You *can* solve the problem by using focusEnabled=false, But then you can no longer tab into the TextArea control. Sure, you can give the TextArea focus by clicking using the mouse, but not the keyboard. (Just something I learnt the other day when suggesting a focusEnabled hack on the forums.)

Peter</description>
		<content:encoded><![CDATA[<p>Re: comment #1,<br />
You *can* solve the problem by using focusEnabled=false, But then you can no longer tab into the TextArea control. Sure, you can give the TextArea focus by clicking using the mouse, but not the keyboard. (Just something I learnt the other day when suggesting a focusEnabled hack on the forums.)</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://blog.lyraspace.com/2009/07/30/spark-textarea-weirdness/comment-page-1/#comment-206</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Fri, 31 Jul 2009 14:37:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.lyraspace.com/?p=164#comment-206</guid>
		<description>Hi Peter. Just off the top of my head I think it might be possible for the FocusSkin to create a 1px border around the bounding area of the TextArea and also the scrollbar (if visible) and then you&#039;d still be able to have a glow on focus. I&#039;ll need to play with it to see if it will work. Not sure how the default skin works as yet. This would be the &#039;ideal&#039; fix as you&#039;d maintain all the core functionality.

Thanks for a wonderful blog BTW - you&#039;ve saved my ass on numerous occasions.</description>
		<content:encoded><![CDATA[<p>Hi Peter. Just off the top of my head I think it might be possible for the FocusSkin to create a 1px border around the bounding area of the TextArea and also the scrollbar (if visible) and then you&#8217;d still be able to have a glow on focus. I&#8217;ll need to play with it to see if it will work. Not sure how the default skin works as yet. This would be the &#8216;ideal&#8217; fix as you&#8217;d maintain all the core functionality.</p>
<p>Thanks for a wonderful blog BTW &#8211; you&#8217;ve saved my ass on numerous occasions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter deHaan</title>
		<link>http://blog.lyraspace.com/2009/07/30/spark-textarea-weirdness/comment-page-1/#comment-205</link>
		<dc:creator>Peter deHaan</dc:creator>
		<pubDate>Fri, 31 Jul 2009 14:22:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.lyraspace.com/?p=164#comment-205</guid>
		<description>OK, you&#039;ve inspired me to look at this again. We have a couple bugs filed about this (http://bugs.adobe.com/jira/browse/SDK-19255) but it appears the problem is with the focus rect having nothing to draw focus on except the text. I vaguely recall trying to create a transparent background in the Spark TextArea skin, but I cannot remember if that worked.

Anyways, here is another fix which may work for you. Basically just change the focusSkin (to a blank skin -- spark.skins.SparkSkin):

&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;s:Application xmlns:fx=&quot;http://ns.adobe.com/mxml/2009&quot;
        xmlns:s=&quot;library://ns.adobe.com/flex/spark&quot;
        xmlns:mx=&quot;library://ns.adobe.com/flex/halo&quot;
        backgroundColor=&quot;red&quot;&gt;

    &lt;s:TextArea id=&quot;ta&quot;
            text=&quot;The quick brown fox jumps over the lazy dog&quot;
            contentBackgroundColor=&quot;haloBlue&quot;
            skinClass=&quot;skins.CustomTextAreaSkin&quot;
            focusSkin=&quot;spark.skins.SparkSkin&quot;
            horizontalCenter=&quot;0&quot;
            verticalCenter=&quot;0&quot; /&gt;

&lt;/s:Application&gt;


Not sure if that is your ultimate fix or not, but if you come up with anything else/better, let me know (or ideally add it to the bug above so we can track it).

Thanks,
Peter</description>
		<content:encoded><![CDATA[<p>OK, you&#8217;ve inspired me to look at this again. We have a couple bugs filed about this (<a href="http://bugs.adobe.com/jira/browse/SDK-19255" rel="nofollow">http://bugs.adobe.com/jira/browse/SDK-19255</a>) but it appears the problem is with the focus rect having nothing to draw focus on except the text. I vaguely recall trying to create a transparent background in the Spark TextArea skin, but I cannot remember if that worked.</p>
<p>Anyways, here is another fix which may work for you. Basically just change the focusSkin (to a blank skin &#8212; spark.skins.SparkSkin):</p>
<p>&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;utf-8&#8243;?&gt;<br />
&lt;s:Application xmlns:fx=&#8221;http://ns.adobe.com/mxml/2009&#8243;<br />
        xmlns:s=&#8221;library://ns.adobe.com/flex/spark&#8221;<br />
        xmlns:mx=&#8221;library://ns.adobe.com/flex/halo&#8221;<br />
        backgroundColor=&#8221;red&#8221;&gt;</p>
<p>    &lt;s:TextArea id=&#8221;ta&#8221;<br />
            text=&#8221;The quick brown fox jumps over the lazy dog&#8221;<br />
            contentBackgroundColor=&#8221;haloBlue&#8221;<br />
            skinClass=&#8221;skins.CustomTextAreaSkin&#8221;<br />
            focusSkin=&#8221;spark.skins.SparkSkin&#8221;<br />
            horizontalCenter=&#8221;0&#8243;<br />
            verticalCenter=&#8221;0&#8243; /&gt;</p>
<p>&lt;/s:Application&gt;</p>
<p>Not sure if that is your ultimate fix or not, but if you come up with anything else/better, let me know (or ideally add it to the bug above so we can track it).</p>
<p>Thanks,<br />
Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://blog.lyraspace.com/2009/07/30/spark-textarea-weirdness/comment-page-1/#comment-203</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Fri, 31 Jul 2009 13:09:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.lyraspace.com/?p=164#comment-203</guid>
		<description>but still ... that fix must also go in the &#039;not ideal&#039; category. Still looking for the ultimate fix. It must be in the skin!</description>
		<content:encoded><![CDATA[<p>but still &#8230; that fix must also go in the &#8216;not ideal&#8217; category. Still looking for the ultimate fix. It must be in the skin!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

