<?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>SmartLogic Solutions Blog &#187; text</title>
	<atom:link href="http://blog.smartlogicsolutions.com/tag/text/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.smartlogicsolutions.com</link>
	<description>News and updates from the people at SmartLogic Solutions</description>
	<lastBuildDate>Tue, 30 Nov 2010 21:39:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Rotate Effect and Non Embedded Fonts in Flex 4</title>
		<link>http://blog.smartlogicsolutions.com/2008/09/25/rotate-effect-and-non-embedded-fonts-in-flex-4/</link>
		<comments>http://blog.smartlogicsolutions.com/2008/09/25/rotate-effect-and-non-embedded-fonts-in-flex-4/#comments</comments>
		<pubDate>Fri, 26 Sep 2008 03:10:55 +0000</pubDate>
		<dc:creator>Greg Jastrab</dc:creator>
				<category><![CDATA[Flex 4]]></category>
		<category><![CDATA[Greg Jastrab]]></category>
		<category><![CDATA[Gumbo]]></category>
		<category><![CDATA[effects]]></category>
		<category><![CDATA[text]]></category>

		<guid isPermaLink="false">http://blog.smartlogicsolutions.com/?p=265</guid>
		<description><![CDATA[One big improvement in Flash Player 10 is that fonts no longer need to be embedded in order to rotate text or alter it&#8217;s alpha. Below is a simple example demonstrating both of these features by using the Rotate and Fade effects in Flex 4. [flash /wp-content/uploads/2008/09/rotate_and_fade.swf] Check out how simple the code is below! [...]]]></description>
			<content:encoded><![CDATA[<p>One big improvement in <a href="http://labs.adobe.com/technologies/flashplayer10/">Flash Player 10</a> is that fonts no longer need to be embedded in order to rotate text or alter it&#8217;s alpha.  Below is a simple example demonstrating both of these features by using the Rotate and Fade effects in Flex 4.</p>
<p>[flash /wp-content/uploads/2008/09/rotate_and_fade.swf]</p>
<p>Check out how simple the code is below!</p>
<p><span id="more-265"></span></p>
<h4>TestRotate.mxml</h4>

<div class="wp_syntax"><div class="code"><pre class="mxml" style="font-family:monospace;"><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;">&lt;Application xmlns=<span style="color: #ff0000;">&quot;http://ns.adobe.com/mxml/2009&quot;</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
    <span style="color: #000000;">&lt;Declarations<span style="color: #7400FF;">&gt;</span></span>
        <span style="color: #000000;">&lt;Rotate id=<span style="color: #ff0000;">&quot;r&quot;</span> target=<span style="color: #ff0000;">&quot;{btn}&quot;</span> angleTo=<span style="color: #ff0000;">&quot;360&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
        <span style="color: #000000;">&lt;Fade id=<span style="color: #ff0000;">&quot;a&quot;</span> target=<span style="color: #ff0000;">&quot;{btnAlpha}&quot;</span></span>
<span style="color: #000000;">              alphaFrom=<span style="color: #ff0000;">&quot;1&quot;</span> alphaTo=<span style="color: #ff0000;">&quot;0&quot;</span> duration=<span style="color: #ff0000;">&quot;3000&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
    <span style="color: #000000;">&lt;/Declarations<span style="color: #7400FF;">&gt;</span></span>
&nbsp;
    <span style="color: #000000;">&lt;VGroup 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>
        <span style="color: #000000;">&lt;Button id=<span style="color: #ff0000;">&quot;btn&quot;</span> click=<span style="color: #ff0000;">&quot;r.play()&quot;</span> label=<span style="color: #ff0000;">&quot;Rotate This&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
        <span style="color: #000000;">&lt;Button id=<span style="color: #ff0000;">&quot;btnAlpha&quot;</span> click=<span style="color: #ff0000;">&quot;a.play()&quot;</span> label=<span style="color: #ff0000;">&quot;Fade This&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
    <span style="color: #000000;">&lt;/VGroup<span style="color: #7400FF;">&gt;</span></span>
&nbsp;
<span style="color: #000000;">&lt;/Application<span style="color: #7400FF;">&gt;</span></span></pre></div></div>

<p>Some changes to Gumbo since I&#8217;ve last posted:</p>
<ul>
<li>Non visual items must go in a <code>Declarations</code> block (<a href="http://opensource.adobe.com/wiki/display/flexsdk/MXML+2009#MXML2009-Nonvisualpropertydeclarationsmustgointoanew%7B%7B%3CDeclarations%3E%7D%7Dsection.Notethatvaluesforexistingpropertiesdeclaredonthebaseclasscanremaininlineaschildren.">see MXML 2009 spec</a>)</li>
<li>There are now <code>HGroup</code> and <code>VGroup</code> convenience classes so you can save some typing by not specifying the layout property</li>
</ul>
<p>I hope everyone’s enjoying their Gumbo!</p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://blog.smartlogicsolutions.com/2008/10/08/new-flex-4-theme-and-class-renaming/" rel="bookmark" class="crp_title">New Flex 4 Theme and Class Renaming</a></li><li><a href="http://blog.smartlogicsolutions.com/2008/10/21/advanced-css-in-flex-4-id-and-descendant-selectors/" rel="bookmark" class="crp_title">Advanced CSS in Flex 4 &#8211; ID and Descendant Selectors</a></li><li><a href="http://blog.smartlogicsolutions.com/2009/05/28/flex-4-login-form-component/" rel="bookmark" class="crp_title">Flex 4 Login Form Component</a></li><li><a href="http://blog.smartlogicsolutions.com/2008/07/16/skinning-button-flex-4-fxg/" rel="bookmark" class="crp_title">Skinning A Button in Flex 4 Using FXG</a></li><li><a href="http://blog.smartlogicsolutions.com/2008/08/23/recreating-ely%e2%80%99s-flex-4-list-component-series-part-3-adding-transitions/" rel="bookmark" class="crp_title">Recreating Ely’s Flex 4 List Component Series: Part 3 &#8211; Adding Transitions</a></li><li>Powered by <a href="http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/">Contextual Related Posts</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://blog.smartlogicsolutions.com/2008/09/25/rotate-effect-and-non-embedded-fonts-in-flex-4/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

