<?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>Ad hoc Geek &#187; mxml</title>
	<atom:link href="http://www.adhocgeek.com/tag/mxml/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.adhocgeek.com</link>
	<description>Approaching geekery in an ad hoc and improvisational manner.</description>
	<lastBuildDate>Fri, 30 Sep 2011 09:43:42 +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>Simple MXML without Flex</title>
		<link>http://www.adhocgeek.com/2009/06/mxml_without_flex_1/</link>
		<comments>http://www.adhocgeek.com/2009/06/mxml_without_flex_1/#comments</comments>
		<pubDate>Mon, 08 Jun 2009 11:02:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Geek]]></category>
		<category><![CDATA[mxml]]></category>

		<guid isPermaLink="false">http://www.adhocgeek.com/?p=55</guid>
		<description><![CDATA[ ]]></description>
			<content:encoded><![CDATA[<p>Just a quick post &#8211; I might put up some code later on (after I&#8217;ve cleaned it up a bit!).</p>
<p>I&#8217;ve been toying around with simple, procedurally generated animations, mostly to get my head around creating SWF files in mxml, but without using the Flex framework (i.e. not pure Actionscript projects) :</p>
<p><object width="500" height="60" data="/flash/MXML_NoFlex/TrailTest.swf" type="application/x-shockwave-flash"><param name="name" value="TrailTest" /><param name="bgcolor" value="#ffffff" /><param name="align" value="middle" /><param name="src" value="/flash/MXML_NoFlex/TrailTest.swf" /><param name="quality" value="high" /></object></p>
<p>The mxml for this is simply :</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
</pre></td><td 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;TrailGroup xmlns=<span style="color: #ff0000;">&quot;*&quot;</span></span>
<span style="color: #000000;">    xmlns:mx=<span style="color: #ff0000;">&quot;http://www.adobe.com/2006/mxml&quot;</span><span style="color: #7400FF;">&gt;</span></span>
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:Metadata</span><span style="color: #7400FF;">&gt;</span></span>
        [SWF(width=&quot;500&quot;, height=&quot;60&quot;, backgroundColor=&quot;0xffffff&quot;)]
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:Metadata</span><span style="color: #7400FF;">&gt;</span></span>
    <span style="color: #000000;">&lt;trails<span style="color: #7400FF;">&gt;</span></span>
        <span style="color: #000000;">&lt;Trail fillColor=<span style="color: #ff0000;">&quot;0xffaaaa&quot;</span><span style="color: #7400FF;">/&gt;</span></span>
        <span style="color: #000000;">&lt;Trail fillColor=<span style="color: #ff0000;">&quot;0xaaffaa&quot;</span><span style="color: #7400FF;">/&gt;</span></span>
        <span style="color: #000000;">&lt;Trail fillColor=<span style="color: #ff0000;">&quot;0xaaaaff&quot;</span><span style="color: #7400FF;">/&gt;</span></span>
    <span style="color: #000000;">&lt;/trails<span style="color: #7400FF;">&gt;</span></span>
<span style="color: #000000;">&lt;/TrailGroup<span style="color: #7400FF;">&gt;</span></span></pre></td></tr></table></div>

<p>This doesn&#8217;t use any of the Flex framework, consequently the file size is only around 2KB <img src='http://www.adhocgeek.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I have to admit to using this (better written) post as reference :</p>
<p><a href="http://pv3d.org/2009/03/17/mxml-without-the-flex-framework/">http://pv3d.org/2009/03/17/mxml-without-the-flex-framework/</a></p>
<p><strong>Update</strong> : The code, such as it is, can be found <a href="/flash/MXML_NoFlex/TrailTest.zip">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.adhocgeek.com/2009/06/mxml_without_flex_1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

