<?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: Creating a multiline CheckBox component in Flash using ActionScript 3.0</title>
	<atom:link href="http://actionscriptexamples.com/2008/12/01/creating-a-multiline-checkbox-component-in-flash-using-actionscript-30/feed/" rel="self" type="application/rss+xml" />
	<link>http://actionscriptexamples.com/2008/12/01/creating-a-multiline-checkbox-component-in-flash-using-actionscript-30/</link>
	<description>A bunch of ActionScript 2.0 and ActionScript 3.0 examples*</description>
	<lastBuildDate>Thu, 22 Jul 2010 14:13:10 -0700</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Craig Belcherr</title>
		<link>http://actionscriptexamples.com/2008/12/01/creating-a-multiline-checkbox-component-in-flash-using-actionscript-30/comment-page-1/#comment-629</link>
		<dc:creator>Craig Belcherr</dc:creator>
		<pubDate>Wed, 13 Jan 2010 20:55:02 +0000</pubDate>
		<guid isPermaLink="false">http://actionscriptexamples.com/?p=88#comment-629</guid>
		<description>After searching Google and doing some of my own investigation into Flex, I found the following solution:

package packageName
{
    import flash.text.TextFieldAutoSize;
    import mx.controls.CheckBox;

    public class MultilineCheckBox extends CheckBox
    {
	    public function MultilineCheckBox()
	    {
	        super();
	    }
	
	    override protected function createChildren():void
	    {
		    super.createChildren();
		
		    textField.wordWrap = true;
		    textField.autoSize = TextFieldAutoSize.LEFT;
	    }
    }
}

Let me know what you think :)

--Craig</description>
		<content:encoded><![CDATA[<p>After searching Google and doing some of my own investigation into Flex, I found the following solution:</p>
<p>package packageName<br />
{<br />
    import flash.text.TextFieldAutoSize;<br />
    import mx.controls.CheckBox;</p>
<p>    public class MultilineCheckBox extends CheckBox<br />
    {<br />
	    public function MultilineCheckBox()<br />
	    {<br />
	        super();<br />
	    }</p>
<p>	    override protected function createChildren():void<br />
	    {<br />
		    super.createChildren();</p>
<p>		    textField.wordWrap = true;<br />
		    textField.autoSize = TextFieldAutoSize.LEFT;<br />
	    }<br />
    }<br />
}</p>
<p>Let me know what you think :)</p>
<p>&#8211;Craig</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Craig Belcherr</title>
		<link>http://actionscriptexamples.com/2008/12/01/creating-a-multiline-checkbox-component-in-flash-using-actionscript-30/comment-page-1/#comment-628</link>
		<dc:creator>Craig Belcherr</dc:creator>
		<pubDate>Wed, 13 Jan 2010 19:17:40 +0000</pubDate>
		<guid isPermaLink="false">http://actionscriptexamples.com/?p=88#comment-628</guid>
		<description>I am also curious about how to change the relative position of the actual checkbox and its label.  I think it would look much better if they were aligned along the top. I messed around with CSS styles, but I have not been able to find anything that affects the control in this way.

--Craig</description>
		<content:encoded><![CDATA[<p>I am also curious about how to change the relative position of the actual checkbox and its label.  I think it would look much better if they were aligned along the top. I messed around with CSS styles, but I have not been able to find anything that affects the control in this way.</p>
<p>&#8211;Craig</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andjules</title>
		<link>http://actionscriptexamples.com/2008/12/01/creating-a-multiline-checkbox-component-in-flash-using-actionscript-30/comment-page-1/#comment-612</link>
		<dc:creator>andjules</dc:creator>
		<pubDate>Tue, 08 Dec 2009 16:50:24 +0000</pubDate>
		<guid isPermaLink="false">http://actionscriptexamples.com/?p=88#comment-612</guid>
		<description>Interesting side effect:
the actual check-box (the box element itself, not including the label) is vertically centered to the height of the checkbox&#039;s textfield.
I can&#039;t find any documentation (or undocumented stuff on the net) about how to reference the actual check-box (so I can control its relative position).

Any thoughts?</description>
		<content:encoded><![CDATA[<p>Interesting side effect:<br />
the actual check-box (the box element itself, not including the label) is vertically centered to the height of the checkbox&#8217;s textfield.<br />
I can&#8217;t find any documentation (or undocumented stuff on the net) about how to reference the actual check-box (so I can control its relative position).</p>
<p>Any thoughts?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter deHaan</title>
		<link>http://actionscriptexamples.com/2008/12/01/creating-a-multiline-checkbox-component-in-flash-using-actionscript-30/comment-page-1/#comment-132</link>
		<dc:creator>Peter deHaan</dc:creator>
		<pubDate>Thu, 11 Dec 2008 17:57:45 +0000</pubDate>
		<guid isPermaLink="false">http://actionscriptexamples.com/?p=88#comment-132</guid>
		<description>Nice,

Flash enhancement requests/bug reports can be filed using the &quot;Feature Request/Bug Report Form&quot; at http://www.adobe.com/go/wish (select &quot;Flash&quot; from the &lt;em&gt;Product name&lt;/em&gt; drop down menu)
Flex enhancement requests/bug reports can be filed using the public bug base at http://bugs.adobe.com/flex/

Peter</description>
		<content:encoded><![CDATA[<p>Nice,</p>
<p>Flash enhancement requests/bug reports can be filed using the &#8220;Feature Request/Bug Report Form&#8221; at <a href="http://www.adobe.com/go/wish" rel="nofollow">http://www.adobe.com/go/wish</a> (select &#8220;Flash&#8221; from the <em>Product name</em> drop down menu)<br />
Flex enhancement requests/bug reports can be filed using the public bug base at <a href="http://bugs.adobe.com/flex/" rel="nofollow">http://bugs.adobe.com/flex/</a></p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nice</title>
		<link>http://actionscriptexamples.com/2008/12/01/creating-a-multiline-checkbox-component-in-flash-using-actionscript-30/comment-page-1/#comment-126</link>
		<dc:creator>Nice</dc:creator>
		<pubDate>Thu, 11 Dec 2008 16:57:36 +0000</pubDate>
		<guid isPermaLink="false">http://actionscriptexamples.com/?p=88#comment-126</guid>
		<description>Need to submit an enhancement request to Adobe to have this ability added to Flash/Flex..</description>
		<content:encoded><![CDATA[<p>Need to submit an enhancement request to Adobe to have this ability added to Flash/Flex..</p>
]]></content:encoded>
	</item>
</channel>
</rss>
