<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Flex Examples &#187; fontStyle</title>
	<atom:link href="http://blog.flexexamples.com/tag/fontstyle/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com</link>
	<description>Just a bunch of Adobe Flex Examples</description>
	<lastBuildDate>Wed, 26 Jan 2011 18:09:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Displaying an italic font style on a TextBox control in Flex Gumbo</title>
		<link>http://blog.flexexamples.com/2008/12/12/displaying-an-italic-font-style-on-a-textbox-control-in-flex-gumbo/</link>
		<comments>http://blog.flexexamples.com/2008/12/12/displaying-an-italic-font-style-on-a-textbox-control-in-flex-gumbo/#comments</comments>
		<pubDate>Sat, 13 Dec 2008 07:36:46 +0000</pubDate>
		<dc:creator>Peter deHaan</dc:creator>
				<category><![CDATA[beta]]></category>
		<category><![CDATA[FontLookup]]></category>
		<category><![CDATA[FXG]]></category>
		<category><![CDATA[TextBox]]></category>
		<category><![CDATA[fontStyle]]></category>
		<category><![CDATA[Gumbo]]></category>

		<guid isPermaLink="false">http://blog.flexexamples.com/2008/12/12/displaying-an-italic-font-style-on-a-textbox-control-in-flex-gumbo/</guid>
		<description><![CDATA[<p>The following example shows how you can specify an italic font style on a device and embedded font on a Flex Gumbo TextBox control by setting the fontStyle style.</p> <p>Full code after the jump.</p> <p></p> &#60;?xml version="1.0" encoding="utf-8"?&#62; &#60;!-- http://blog.flexexamples.com/2008/12/12/displaying-an-italic-font-style-on-a-textbox-control-in-flex-gumbo/ --&#62; &#60;Application name="TextBox_fontStyle_test" xmlns="http://ns.adobe.com/mxml/2009" layout="vertical" verticalAlign="middle" backgroundColor="white"&#62; &#60;Style&#62; @font-face { src: url("C:/Windows/Fonts/ARIALI.TTF"); fontFamily: "ArialEmbedded"; fontStyle: [...]]]></description>
			<content:encoded><![CDATA[<p>The following example shows how you can specify an italic font style on a device and embedded font on a Flex Gumbo TextBox control by setting the <code>fontStyle</code> style.</p>
<p>Full code after the jump.</p>
<p><span id="more-898"></span></p>
<p class="alert">The following example(s) require Flash Player 10 and the Adobe Flex 4 SDK. To download the Adobe Flash Builder 4 trial, see <a href="http://bit.ly/crThlI">http://www.adobe.com/products/flex/</a>. To download the latest nightly build of the Flex 4 SDK, see <a href="http://bit.ly/Flex4SDK">http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4</a>.<br/><strong>For more information on getting started with Flex 4 and Flash Builder 4, see the official <a href="http://bit.ly/dCkecm">Adobe Flex Team blog</a>.</strong></p>
<pre class="code">
&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;!-- http://blog.flexexamples.com/2008/12/12/displaying-an-italic-font-style-on-a-textbox-control-in-flex-gumbo/ --&gt;
&lt;Application name="TextBox_fontStyle_test"
        xmlns="http://ns.adobe.com/mxml/2009"
        layout="vertical"
        verticalAlign="middle"
        backgroundColor="white"&gt;

    &lt;Style&gt;
        @font-face {
            src: url("C:/Windows/Fonts/ARIALI.TTF");
            fontFamily: "ArialEmbedded";
            fontStyle: "italic";
            cff: true;
        }
    &lt;/Style&gt;

    &lt;VGroup&gt;
        &lt;TextBox id="deviceTextBox"
                text="The quick brown fox jumps over the lazy dog. (device)"
                fontFamily="Arial"
                fontStyle="italic"
                fontLookup="device" /&gt;
        &lt;TextBox id="embeddedCFFTextBox"
                text="The quick brown fox jumps over the lazy dog. (embeddedCFF)"
                fontFamily="ArialEmbedded"
                fontLookup="embeddedCFF"
                fontStyle="italic" /&gt;
    &lt;/VGroup&gt;

&lt;/Application&gt;
</pre>
<p class="alert">This entry is based on a beta version of the Flex 4 SDK and therefore is very likely to change as development of the Flex SDK continues. The API can (and will) change causing examples to possibly not compile in newer versions of the Flex 4 SDK.</p>
<div class="evernoteSiteMemory"><a href="javascript:" onclick="Evernote.doClip({title: 'Displaying an italic font style on a TextBox control in Flex Gumbo on FlexExamples.com',url: 'http://blog.flexexamples.com/2008/12/12/displaying-an-italic-font-style-on-a-textbox-control-in-flex-gumbo/',contentID: 'post-898',code: 'Pete9667',suggestNotebook: 'FlexExamples',suggestTags: 'fontStyle,Gumbo',providerName: 'FlexExamples.com',styling: 'text' });return false" class="evernoteSiteMemoryLink"><img src="http://static.evernote.com/article-clipper-remember.png" class="evernoteSiteMemoryButton" />
				</a>				<div class="evernoteSiteMemoryClear">&nbsp;</div>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.flexexamples.com/2008/12/12/displaying-an-italic-font-style-on-a-textbox-control-in-flex-gumbo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

