<?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 kerning level on the TextGraphic object in Flex Gumbo</title>
	<atom:link href="http://blog.flexexamples.com/2009/01/08/setting-the-kerning-level-on-the-textgraphic-object-in-flex-gumbo/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com/2009/01/08/setting-the-kerning-level-on-the-textgraphic-object-in-flex-gumbo/</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: Peter deHaan</title>
		<link>http://blog.flexexamples.com/2009/01/08/setting-the-kerning-level-on-the-textgraphic-object-in-flex-gumbo/comment-page-1/#comment-8332</link>
		<dc:creator>Peter deHaan</dc:creator>
		<pubDate>Thu, 16 Sep 2010 19:57:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2009/01/08/setting-the-kerning-level-on-the-textgraphic-object-in-flex-gumbo/#comment-8332</guid>
		<description>@David Salahi,

Yes, this example is quite old and written on an old beta Flex 4 SDK. Something like the following should work:
&lt;pre lang=&quot;mxml&quot;&gt;

&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;s:Application name=&quot;Spark_Label_kerning_test&quot;
        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/mx&quot;&gt;
    
    &lt;fx:Style&gt;
        @namespace s &quot;library://ns.adobe.com/flex/spark&quot;;
        @namespace mx &quot;library://ns.adobe.com/flex/mx&quot;;
        
        @font-face {
            src: url(&quot;C:/Windows/Fonts/Arial.ttf&quot;);
            fontFamily: EmbeddedArno;
            embedAsCFF: true;
        }
        
        s&#124;Label#textGr {
            fontFamily: EmbeddedArno;
            fontLookup: embeddedCFF;
            fontSize: 64;
        }
    &lt;/fx:Style&gt;
    
    &lt;s:controlBarContent&gt;
        &lt;mx:Form styleName=&quot;plain&quot;&gt;
            &lt;mx:FormItem label=&quot;text:&quot;&gt;
                &lt;s:TextInput id=&quot;textInput&quot;
                        text=&quot;AVAST YE MATEY, SAIL AWAY&quot;
                        maxChars=&quot;30&quot; /&gt;
            &lt;/mx:FormItem&gt;
            &lt;mx:FormItem label=&quot;kerning:&quot;&gt;
                &lt;s:DropDownList id=&quot;comboBox&quot; selectedItem=&quot;auto&quot;&gt;
                    &lt;s:dataProvider&gt;
                        &lt;s:ArrayList source=&quot;[auto,on,off]&quot; /&gt;
                    &lt;/s:dataProvider&gt;
                &lt;/s:DropDownList&gt;
            &lt;/mx:FormItem&gt;
        &lt;/mx:Form&gt;
    &lt;/s:controlBarContent&gt;
    
    &lt;s:Label id=&quot;textGr&quot;
            text=&quot;{textInput.text}&quot;
            kerning=&quot;{comboBox.selectedItem}&quot;
            width=&quot;600&quot;
            horizontalCenter=&quot;0&quot; verticalCenter=&quot;0&quot; /&gt;
    
&lt;/s:Application&gt;
&lt;/pre&gt;

I&#039;ll try and update the entry above when I get a bit of time.

Peter</description>
		<content:encoded><![CDATA[<p>@David Salahi,</p>
<p>Yes, this example is quite old and written on an old beta Flex 4 SDK. Something like the following should work:</p>

<div class="wp_syntax"><div class="code"><pre class="mxml" style="font-family:monospace;">&nbsp;
<span style="color: #000000;">&lt;?xml version=<span style="color: #ff0000;">&quot;1.0&quot;</span> encoding=<span style="color: #ff0000;">&quot;utf-8&quot;</span>?<span style="color: #7400FF;">&gt;</span></span>
<span style="color: #000000;"><span style="color: #7400FF;">&lt;s:Application</span> name=<span style="color: #ff0000;">&quot;Spark_Label_kerning_test&quot;</span></span>
<span style="color: #000000;">        xmlns:fx=<span style="color: #ff0000;">&quot;http://ns.adobe.com/mxml/2009&quot;</span> </span>
<span style="color: #000000;">        xmlns:s=<span style="color: #ff0000;">&quot;library://ns.adobe.com/flex/spark&quot;</span> </span>
<span style="color: #000000;">        xmlns:mx=<span style="color: #ff0000;">&quot;library://ns.adobe.com/flex/mx&quot;</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;fx:Style</span><span style="color: #7400FF;">&gt;</span></span>
        @namespace s &quot;library://ns.adobe.com/flex/spark&quot;;
        @namespace mx &quot;library://ns.adobe.com/flex/mx&quot;;
&nbsp;
        @font-face {
            src: url(&quot;C:/Windows/Fonts/Arial.ttf&quot;);
            fontFamily: EmbeddedArno;
            embedAsCFF: true;
        }
&nbsp;
        s|Label#textGr {
            fontFamily: EmbeddedArno;
            fontLookup: embeddedCFF;
            fontSize: 64;
        }
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;/fx:Style</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:controlBarContent</span><span style="color: #7400FF;">&gt;</span></span>
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:Form</span> styleName=<span style="color: #ff0000;">&quot;plain&quot;</span><span style="color: #7400FF;">&gt;</span></span>
            <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:FormItem</span> label=<span style="color: #ff0000;">&quot;text:&quot;</span><span style="color: #7400FF;">&gt;</span></span>
                <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:TextInput</span> id=<span style="color: #ff0000;">&quot;textInput&quot;</span></span>
<span style="color: #000000;">                        text=<span style="color: #ff0000;">&quot;AVAST YE MATEY, SAIL AWAY&quot;</span></span>
<span style="color: #000000;">                        maxChars=<span style="color: #ff0000;">&quot;30&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
            <span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:FormItem</span><span style="color: #7400FF;">&gt;</span></span>
            <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:FormItem</span> label=<span style="color: #ff0000;">&quot;kerning:&quot;</span><span style="color: #7400FF;">&gt;</span></span>
                <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:DropDownList</span> id=<span style="color: #ff0000;">&quot;comboBox&quot;</span> selectedItem=<span style="color: #ff0000;">&quot;auto&quot;</span><span style="color: #7400FF;">&gt;</span></span>
                    <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:dataProvider</span><span style="color: #7400FF;">&gt;</span></span>
                        <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:ArrayList</span> source=<span style="color: #ff0000;">&quot;[auto,on,off]&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
                    <span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:dataProvider</span><span style="color: #7400FF;">&gt;</span></span>
                <span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:DropDownList</span><span style="color: #7400FF;">&gt;</span></span>
            <span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:FormItem</span><span style="color: #7400FF;">&gt;</span></span>
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:Form</span><span style="color: #7400FF;">&gt;</span></span>
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:controlBarContent</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:Label</span> id=<span style="color: #ff0000;">&quot;textGr&quot;</span></span>
<span style="color: #000000;">            text=<span style="color: #ff0000;">&quot;{textInput.text}&quot;</span></span>
<span style="color: #000000;">            kerning=<span style="color: #ff0000;">&quot;{comboBox.selectedItem}&quot;</span></span>
<span style="color: #000000;">            width=<span style="color: #ff0000;">&quot;600&quot;</span></span>
<span style="color: #000000;">            horizontalCenter=<span style="color: #ff0000;">&quot;0&quot;</span> verticalCenter=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
&nbsp;
<span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:Application</span><span style="color: #7400FF;">&gt;</span></span></pre></div></div>

<p>I&#8217;ll try and update the entry above when I get a bit of time.</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Salahi</title>
		<link>http://blog.flexexamples.com/2009/01/08/setting-the-kerning-level-on-the-textgraphic-object-in-flex-gumbo/comment-page-1/#comment-8329</link>
		<dc:creator>David Salahi</dc:creator>
		<pubDate>Thu, 16 Sep 2010 04:21:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2009/01/08/setting-the-kerning-level-on-the-textgraphic-object-in-flex-gumbo/#comment-8329</guid>
		<description>Unfortunately, this code does not compile with Flex 4 SDK.</description>
		<content:encoded><![CDATA[<p>Unfortunately, this code does not compile with Flex 4 SDK.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

