<?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"
	>
<channel>
	<title>Comments for AH:</title>
	<atom:link href="http://www.hulstkamp.com/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://www.hulstkamp.com</link>
	<description>andy hulstkamp blog about rich internet applications, flex, flash, java, webapps, web, code, experiments</description>
	<pubDate>Fri, 12 Mar 2010 22:09:00 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>Comment on Customize the Spark TextInput Component in Flex 4 (Gumbo). Adding focus and Transitions. by Andy Hulstkamp</title>
		<link>http://www.hulstkamp.com/2009/06/01/customize-the-spark-textinput-component-in-flex-4-gumbo-adding-focus-and-transitions/344#comment-157</link>
		<dc:creator>Andy Hulstkamp</dc:creator>
		<pubDate>Tue, 02 Mar 2010 16:56:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.hulstkamp.com/?p=344#comment-157</guid>
		<description>Roman,

Thanks for your contribution.</description>
		<content:encoded><![CDATA[<p>Roman,</p>
<p>Thanks for your contribution.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Advanced FXG Spark Icon Buttons with one generic skin in Flex4 (Gumbo) by Flex 4 Skin &#8211; Links &#171; iuricmp</title>
		<link>http://www.hulstkamp.com/2009/06/20/advanced-fxg-spark-icon-buttons-with-one-generic-skin-in-flex4-gumbo/439#comment-156</link>
		<dc:creator>Flex 4 Skin &#8211; Links &#171; iuricmp</dc:creator>
		<pubDate>Wed, 24 Feb 2010 20:59:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.hulstkamp.com/?p=439#comment-156</guid>
		<description>[...] http://www.hulstkamp.com/2009/06/20/advanced-fxg-spark-icon-buttons-with-one-generic-skin-in-flex4-g...     Deixe um Comentário [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.hulstkamp.com/2009/06/20/advanced-fxg-spark-icon-buttons-with-one-generic-skin-in-flex4-g.." rel="nofollow">http://www.hulstkamp.com/2009/06/20/advanced-fxg-spark-icon-buttons-with-one-generic-skin-in-flex4-g..</a>.     Deixe um Comentário [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Customize the Spark TextInput Component in Flex 4 (Gumbo). Adding focus and Transitions. by Roman Shumikhin</title>
		<link>http://www.hulstkamp.com/2009/06/01/customize-the-spark-textinput-component-in-flex-4-gumbo-adding-focus-and-transitions/344#comment-155</link>
		<dc:creator>Roman Shumikhin</dc:creator>
		<pubDate>Sun, 21 Feb 2010 13:38:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.hulstkamp.com/?p=344#comment-155</guid>
		<description>Andy,

Thank very much for the code!
Everything works great, but when the text begins to overflow, the control wraps its text inside (which looks ugly).
I recommend you to modify your partAdded method like this:

//Add Event-Listeners to the textview for FocusEvent
override protected function partAdded(partName:String, instance:Object):void {
	super.partAdded(partName, instance);
	if (instance == this.textView) {
		trace ("Adding TextView");
		this.textView.addEventListener(FocusEvent.FOCUS_IN, onFocusInHandler);
		this.textView.addEventListener(FocusEvent.FOCUS_OUT, onFocusOutHandler);

		// Prevent multiline
		textDisplay.multiline = false;		
		// Single line for interactive input.  Multi-line text can be set.
		textDisplay.setStyle("lineBreak", "explicit");		
		// TextInput should always be 1 line.
		textDisplay.heightInLines = 1;
	}
}

I added 3 lines from the FlexSDK source code of TextInput class.

Thanks again!

Roman</description>
		<content:encoded><![CDATA[<p>Andy,</p>
<p>Thank very much for the code!<br />
Everything works great, but when the text begins to overflow, the control wraps its text inside (which looks ugly).<br />
I recommend you to modify your partAdded method like this:</p>
<p>//Add Event-Listeners to the textview for FocusEvent<br />
override protected function partAdded(partName:String, instance:Object):void {<br />
	super.partAdded(partName, instance);<br />
	if (instance == this.textView) {<br />
		trace (&#8221;Adding TextView&#8221;);<br />
		this.textView.addEventListener(FocusEvent.FOCUS_IN, onFocusInHandler);<br />
		this.textView.addEventListener(FocusEvent.FOCUS_OUT, onFocusOutHandler);</p>
<p>		// Prevent multiline<br />
		textDisplay.multiline = false;<br />
		// Single line for interactive input.  Multi-line text can be set.<br />
		textDisplay.setStyle(&#8221;lineBreak&#8221;, &#8220;explicit&#8221;);<br />
		// TextInput should always be 1 line.<br />
		textDisplay.heightInLines = 1;<br />
	}<br />
}</p>
<p>I added 3 lines from the FlexSDK source code of TextInput class.</p>
<p>Thanks again!</p>
<p>Roman</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Custom PopUp Rating Component in Spark Flex 4 (Gumbo) by Anshul</title>
		<link>http://www.hulstkamp.com/2009/07/09/custom-popup-rating-component-in-spark-flex-4-gumbo/464#comment-152</link>
		<dc:creator>Anshul</dc:creator>
		<pubDate>Tue, 09 Feb 2010 22:43:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.hulstkamp.com/?p=464#comment-152</guid>
		<description>How do you get the path data?</description>
		<content:encoded><![CDATA[<p>How do you get the path data?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Sound in Flash 10 (beta). Generating Waveforms, Timbre and Pitch. by Andy Hulstkamp</title>
		<link>http://www.hulstkamp.com/2008/09/12/sound-in-flash-10-beta-generating-waveforms-timbre-and-pitch/175#comment-151</link>
		<dc:creator>Andy Hulstkamp</dc:creator>
		<pubDate>Mon, 01 Feb 2010 23:30:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.hulstkamp.com/?p=175#comment-151</guid>
		<description>Aldo,

For the notes you could use &lt;a href="http://www.hulstkamp.com/2008/09/15/rmp/40"  rel="nofollow"&gt;this&lt;/a&gt; function and map the midi-notes to the frequency values.

Time is relative to bpm. Basically it's just a matter of how many cycles of the same frequency you stream into the buffer. The more cycles the longer the note.

Velocity again is related to the amplitude (see amp in example above). You'll need to map midi velocity (0..127) to (0.0..1.0).
</description>
		<content:encoded><![CDATA[<p>Aldo,</p>
<p>For the notes you could use <a href="http://www.hulstkamp.com/2008/09/15/rmp/40"  rel="nofollow">this</a> function and map the midi-notes to the frequency values.</p>
<p>Time is relative to bpm. Basically it&#8217;s just a matter of how many cycles of the same frequency you stream into the buffer. The more cycles the longer the note.</p>
<p>Velocity again is related to the amplitude (see amp in example above). You&#8217;ll need to map midi velocity (0..127) to (0.0..1.0).</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Custom Component in Flex 4 (Gumbo). A Knob Button - part 1. by Andy Hulstkamp</title>
		<link>http://www.hulstkamp.com/2009/02/26/custom-component-in-flex-4-gumbo-a-knob-button-part-1/300#comment-150</link>
		<dc:creator>Andy Hulstkamp</dc:creator>
		<pubDate>Mon, 01 Feb 2010 23:24:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.hulstkamp.com/?p=300#comment-150</guid>
		<description>Pollen,

It's Flex 4, the SDK used is Flex 4 beta (Gumbo).</description>
		<content:encoded><![CDATA[<p>Pollen,</p>
<p>It&#8217;s Flex 4, the SDK used is Flex 4 beta (Gumbo).</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Spark Icon Button with Gradient effects and Filter animation, colorized by styles. Flex 4 (Gumbo) by Andy Hulstkamp</title>
		<link>http://www.hulstkamp.com/2009/06/18/spark-icon-button-with-gradient-effects-and-filter-animation-colorized-by-styles-flex-4-gumbo/403#comment-149</link>
		<dc:creator>Andy Hulstkamp</dc:creator>
		<pubDate>Mon, 01 Feb 2010 23:23:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.hulstkamp.com/?p=403#comment-149</guid>
		<description>Anshul

AI has an FXG-Export</description>
		<content:encoded><![CDATA[<p>Anshul</p>
<p>AI has an FXG-Export</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Custom PopUp Rating Component in Spark Flex 4 (Gumbo) by Tyrone Neill</title>
		<link>http://www.hulstkamp.com/2009/07/09/custom-popup-rating-component-in-spark-flex-4-gumbo/464#comment-148</link>
		<dc:creator>Tyrone Neill</dc:creator>
		<pubDate>Thu, 28 Jan 2010 10:24:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.hulstkamp.com/?p=464#comment-148</guid>
		<description>Very good example, still digging around your class and its fantastic, no short cuts (everything I want out of life). Thanks</description>
		<content:encoded><![CDATA[<p>Very good example, still digging around your class and its fantastic, no short cuts (everything I want out of life). Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Spark Icon Button with Gradient effects and Filter animation, colorized by styles. Flex 4 (Gumbo) by Anshul</title>
		<link>http://www.hulstkamp.com/2009/06/18/spark-icon-button-with-gradient-effects-and-filter-animation-colorized-by-styles-flex-4-gumbo/403#comment-146</link>
		<dc:creator>Anshul</dc:creator>
		<pubDate>Fri, 22 Jan 2010 18:57:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.hulstkamp.com/?p=403#comment-146</guid>
		<description>Hi Andy,

I was wondering how did you get the values for the path data. Those numbers are fractional values and it doesn't look like you spent your time trying to find them by trial and error.

Thanks.</description>
		<content:encoded><![CDATA[<p>Hi Andy,</p>
<p>I was wondering how did you get the values for the path data. Those numbers are fractional values and it doesn&#8217;t look like you spent your time trying to find them by trial and error.</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Sound in Flash 10 (beta). Generating Waveforms, Timbre and Pitch. by aldo</title>
		<link>http://www.hulstkamp.com/2008/09/12/sound-in-flash-10-beta-generating-waveforms-timbre-and-pitch/175#comment-145</link>
		<dc:creator>aldo</dc:creator>
		<pubDate>Thu, 21 Jan 2010 16:14:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.hulstkamp.com/?p=175#comment-145</guid>
		<description>Hi Andy,
Thanks for your great article. Would you like to you give me some explanation about simulating midi file in flash? I have used midicsv(http://www.fourmilab.ch) to extract midi into time, note and velocity but i dont know how to play it in flash.

Thanks</description>
		<content:encoded><![CDATA[<p>Hi Andy,<br />
Thanks for your great article. Would you like to you give me some explanation about simulating midi file in flash? I have used midicsv(http://www.fourmilab.ch) to extract midi into time, note and velocity but i dont know how to play it in flash.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>
